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
> > 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