[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Input Filenames available to the parser?
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
|
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
|