[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: XSLT V 1.1

Subject: Re: XSLT V 1.1
From: David Carlisle <davidc@xxxxxxxxx>
Date: Tue, 12 Sep 2000 11:48:04 GMT
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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.