[Home] [By Thread] [By Date] [Recent Entries]




> Does XSLT (in 1.0 or 2.0) have an understanding of fragment identifiers?

An XSLT 1 system _may_ interpret fragment ids in calls to the document
function and return a suitable node, but most don't.
It's safer to switch foo.xml#ben round to (in xpath 2)
document('foo.xml')/id('ben')
except of course rdf ids aren't IDs so perhaps make that
document('foo.xml')//*[@id='ben']
(which would work in xpath1 as well).

David


________________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet. 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
________________________________________________________________________

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member