This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: passing variables to a stylesheet
most command line invocations provide a way of passing params; though they
are slightly different with each parser.
a command line invocation using instant saxon with 2 params p1.
saxon source.xml source.xsl p1="aaa"
a command line invocation using sablotron ( sabcmd ) with 2 params p1 and p2
sabcmd source.xsl source.xml p1="aaa" p2="test"
cheers, jim fuller
----- Original Message -----
From: "Eric Smith" <Eric.Smith@fruitcom.com>
To: <xsl-list@lists.mulberrytech.com>
Sent: Monday, September 24, 2001 1:13 PM
Subject: Re: [xsl] passing variables to a stylesheet
> According to cutlass on Mon, Sep 24, 2001 at 11:05:38AM +0100:
> | yes, completely possible,
> |
> | depends on which parser and perl interface your are using.
> |
>
> so then it would seem possible to pass a var to the XSLT processor
> from the command line invocation.
>
> Please let me have an example of how to do that.
>
> thanx
>
>
> --
> Eric Smith
>
> XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
>
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list