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 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:56:08 UTC