[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: XSLT V 1.1
> > 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
|
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
|