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

Allow document(...) use in front of location path patt

Subject: Allow document(...) use in front of location path patterns
From: Jerome Louvel <Jerome.Louvel@xxxxxxxxxxxxxx>
Date: Wed, 11 Dec 2002 10:25:12 -0500
jerome patt
Thanks for the clarifications, we see now how the key declaration is
resolved relatively to the current context.

Still, we are in the case where our codes table may not be directly
accessible from the current node (because it resides in another source
document). So we have to use the approach pointed to us by Mike in XSLT 1.0
section 12.2. 

But this will significantly complicate our XSLT. In our case the user can
combine any numbers of key() calls with keys defined from any source
document, and the stylesheet has to be autogenerated from a visual map.

So I think that, for XSLT 2.0, it would be great to allow to use the
document() function in front of location path patterns. This could be
interpreted very similarly to an absolute location path pattern. 

LocationPathPattern ::=	'document(...)'? '/' RelativePathPattern? | etc..
http://www.w3.org/TR/xslt#NT-LocationPathPattern

Jerome.

 

 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.