RE: [xsl] Input Filenames available to the parser?

Subject: RE: [xsl] Input Filenames available to the parser?
From: Agnisys <agnisys@xxxxxxxxx>
Date: Thu, 5 Jan 2006 07:41:30 -0800 (PST)
In batch mode, I pass the input file and the XSL file as command line arguments to the parser. 

document-uri(/) returns nothing.
base-uri(), base-uri(/), base-uri(document('')) : all return the XSL file name.

So I can't find a way to get the input XML file name.

Anupam.


--- Michael Kay <mike@xxxxxxxxxxxx> wrote:

> > By the way, there was a change between Saxon 8.6 and 8.6.1 where
> > document-uri() became base-uri() 
> 
> You're probably referring to the change introduced in 8.6: "The
> implementation of the document-uri() function has been changed to conform to
> the current specification. It now returns a URI only for documents that are
> present in the document pool, that is, documents that can be retrieved using
> the doc() function." 
> 
> Michael Kay
> http://www.saxonica.com/
> 
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

Current Thread