OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: [xml-dev] XSLT, RDF, fragment identifiers

[ Lists Home | Date Index | Thread Index ]



> 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
________________________________________________________________________




 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS