[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: Input Filenames available to the parser?

Subject: RE: Input Filenames available to the parser?
From: Agnisys <agnisys@xxxxxxxxx>
Date: Thu, 5 Jan 2006 07:41:30 -0800 (PST)
document uri input
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

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.