xsl-list
[Top] [All Lists]

RE: Input Filenames available to the parser?

2006-01-04 15:56:22
Hi,
  (Using Saxon8B, XSLT 2.0)
  Is the name of the input XML file and the XSLT file 
available to the parser? 

It should be possible to get the URI of the input document using
document-uri(/) - provided it is known (it won't be known if the input is
supplied as an anonymous StreamSource, for example).

The output file name isn't known, you could pass it by parameter as others
have suggested.

Michael Kay
http://www.saxonica.com/


If not, how can the
following be done?

For example: 
If input is "in.xml" being processed by "xform.xsl", I want 
the generated output to list the two
files as ...

:
//Input XML   : in.xml
//Transformer : xform.xsl
:
:

Thanks,
Anupam.
 


              
__________________________________________ 
Yahoo! DSL - Something to write home about. 
Just $16.99/mo. or less. 
dsl.yahoo.com 


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: 
<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--





--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



<Prev in Thread] Current Thread [Next in Thread>