[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: AltovaXML and fragment identifier
David Carlisle schrieb:
I wrote or an error, depending on various factors....
I couldn't find that nice behaviour prescribed by the spec for XSLT 1.0, but Saxon 6.5 and LibXSLT 1.1.24 implement it. (Xalan 2.7.1 doesn't, and MSXML 4.0 and 6.0 don't seem to. And AltovaXML Version 2008 rel. 2 sp2 throws an error, which caused this thread.) The spec for 1.0 says: If the URI reference does not contain a fragment identifier, then a node-set containing just the root node of the document is returned. If the URI reference does contain a fragment identifier, the function returns a node-set containing the nodes in the tree identified by the fragment identifier of the URI reference. The semantics of the fragment identifier is dependent on the media type of the result of retrieving the URI. -- http://www.w3.org/TR/1999/REC-xslt-19991116#document "The nodes in the tree identified by the fragment identifier of the URI reference." Okay, it makes sense to take this to mean a call to the id() function. If this nice behaviour is mandatory in 2.0, could you provide a pointer to the part of the spec saying so? (I couldn't find it.) Michael Ludwig
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|