|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: XSLT V 1.1
> XSLT engine knows what is the system id of anything.xml, so it
> should resolve the document(URI) taking into account the
> system id of anything.xml ( not the system id of xsl stylesheet ).
but the XML document may be spread over many different URI (via external
entities)
If you want to get rid of the second argument of document() then xpath
needs functions to return the URI of a node as a string and a function
that takes two strings, a base URI and a URI reference and returns
the resulting URI. (This latter function is possibly writable in XSLT,
but not very simply, so having at as a function would help)
then
document("xxxx", node) would be more or less
document(uri-resolve("xxx",base-uri(node)))
David
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
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
|

Cart








