W3C home > Mailing lists > Public > xmlschema-dev@w3.org > August 2005

RE: ID/IDREF

From: Michael Kay <mike@saxonica.com>
Date: Sun, 21 Aug 2005 19:44:37 +0100
To: "'Danny Vint'" <dvint@dvint.com>, "'Henry S. Thompson'" <ht@inf.ed.ac.uk>
Cc: "'Udo Ende'" <u.ende@mid.de>, <xmlschema-dev@w3.org>
Message-ID: <E1E6uoL-0004TK-71@lisa.w3.org>

> Can I use ID as the type of an element and 
> have it be 
> recognized by XPath and XSLT? Specifically is the id() 
> function supposed 
> to find the matching ID in an elements content?

Provided you are using a schema-aware XSLT 2.0 or XPath 2.0 processor, then
yes.

Michael Kay
http://www.saxonica.com/
Received on Sunday, 21 August 2005 18:44:58 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 11 January 2011 00:14:50 GMT