RE: [xsl] What's an ID?

Subject: RE: [xsl] What's an ID?
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Fri, 15 Sep 2006 00:12:11 +0100
There's a property of a node in the data model called the is-ID property.
The main ways a node can acquire this property are

(a) by being declared as an ID attribute in a DTD

(b) by having type xs:ID in a schema

(c) by being named xml:id

In principle, an API could allow applications to set the property
programmatically.

Michael Kay
http://www.saxonica.com/

 

> -----Original Message-----
> From: Wolfgang Jeltsch [mailto:wolfgang@xxxxxxxxxxx] 
> Sent: 14 September 2006 22:02
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject: [xsl] What's an ID?
> 
> Hello,
> 
> the id function looks for element nodes with a certain ID 
> value.  But what's an ID value in XSLT 2.0?  Is it just an 
> attribute of type xsd:ID or a restricted form of it?  If yes, 
> can't you make use of the id function if you're using an XSLT 
> processor without Schema support like the open source version 
> of Saxon?
> 
> Best wishes,
> Wolfgang

Current Thread