Re: [xsl] Using id() when id and idref are in 2 different files

Subject: Re: [xsl] Using id() when id and idref are in 2 different files
From: David Carlisle <davidc@xxxxxxxxx>
Date: Mon, 13 Dec 2004 10:56:49 GMT
> Using the id() function relies on the XML getting validated against a
> DTD (that specifies that attribute as type ID) - are you sure your
> imported files are being validated? 

Actually it only requires that the DTD is read, which isn't guaranteed
by a non-validating XML parser, but in practice most XML parsers used
for XSLT aappear to be non-validating-but-dtd-reading-xml-parsers, so
id() does work.

David

________________________________________________________________________
This e-mail has been scanned for all viruses by Star. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________

Current Thread