xsl-list
[Top] [All Lists]

RE: [xsl] What's an ID?

2006-09-14 16:12:32
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(_at_)jeltsch(_dot_)net] 
Sent: 14 September 2006 22:02
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
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

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: 
<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>