[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: Thorbjorn Ravn Andersen <TRA@xxxxxxxx>
Date: Tue, 12 Sep 2000 12:38:37 +0200
thorbjorn andersen
> > The two-argument version of document( "where", /) allows me 
> to use an XSL file on a web
> server, and still include files from the same directory as 
> the original XML-file.
> 
> I don't understand what is your rationale.  Could you please
> provide the XSL ? In return I'l try to provide the invariant which
> will work without document() with 2 prameters.

I need to do lookups in a hashtable, which is present as a seperate project dependant XML-document.

I do not know where this document will be located, or its name.  I read in this document with the document() function given a name, but the default directory to look for a relative path is the directory where the XSL-file was located, not the source XML-file.

Since the XSL-file is retreived off a web-server, that location is rarely interesting.  A much more likely location is in the same directory as the XML-file.  Using the two-argument version of document() allows me to retreive it easier that requireing the user to pass a fully qualified URL for the name of it.

-- 
  Thorbjшrn Ravn Andersen             "...and...Tubular Bells!"
  http://bigfoot.com/~thunderbear


 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.