[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: George Cristian Bina <george@xxxxxxxxxxxxx>
Date: Thu, 05 Jan 2006 11:14:01 +0200
|
Hi Anupam,
I think you should go for the XSLT 2.0 solution.
With oXygen I would set the stylesheet name as the default value for the
stylesheet name parameter. For the XML file name parameter you can use a
macros when you configure the transformation scenario, for instance
${cfn} will be expanded to the current file name so you can apply the
same scenario to different XML files and you will get different values
for ${cfn}.
Best Regards,
George
---------------------------------------------------------------------
George Cristian Bina
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
Agnisys wrote:
In Oxygen, do I have to set that in the GUI for each transformation or can the parameters be
associated with a particular XSL file and applied to all XML input files?
More generally, how are parameters passed to the parser in a batch mode?
Thanks,
Anupam.
--- George Cristian Bina <george@xxxxxxxxxxxxx> wrote:
Hi Anupam,
They are not available, pass them as parameters when you invoke the
transformation.
Best Regards,
George
---------------------------------------------------------------------
George Cristian Bina
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
Agnisys wrote:
Hi,
(Using Saxon8B, XSLT 2.0)
Is the name of the input XML file and the XSLT file available to the parser? 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
__________________________________________
Yahoo! DSL Something to write home about.
Just $16.99/mo. or less.
dsl.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
RSS 2.0 |
|
Atom 0.3 |
|
|