Subject: Re: XSLT V 1.1 From: David Carlisle <davidc@xxxxxxxxx> Date: Tue, 12 Sep 2000 11:48:04 GMT |
> 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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: XSLT V 1.1, Paul Tchistopolskii | Thread | Re: XSLT V 1.1, Paul Tchistopolskii |
case insensitive comparison, Eric Taylor | Date | Re: XSLT V 1.1, Oliver Becker |
Month |