This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: XSL command line parameter
- To: xsl-list at mulberrytech dot com
- Subject: RE: XSL command line parameter
- From: "Mabry, F. DR EECS" <df6954 at exmail dot usma dot army dot mil>
- Date: Thu, 18 May 2000 14:24:39 -0400
- Reply-To: xsl-list at mulberrytech dot com
Saxon and Instant Saxon both support command line parameters. There are
multiple examples that come with the packages that depend on this. Contact
me if you need more specifics. Mike Kay documented this support very
clearly in the Saxon documentation. You can read the web documentation for
this information off his web site or you download the full Saxon package.
If you want to play with it a little then just download the Instant Saxon
(for win32 platforms) and read the web based documentation.
Frank
Dr. Frank Mabry
Dept. of EE&CS, U.S. Military Academy
West Point, NY 10996
email: df6954@eecs1.eecs.usma.edu
Phone: (914) 938-2960
-----Original Message-----
From: Sydney [mailto:moisi_fr@yahoo.fr]
Sent: Thursday, May 18, 2000 9:17 AM
To: XSL-List@mulberrytech.com
Subject: XSL command line parameter
Hi
Is it possible to put on the command line some
parameter which will be use in the XSL file?
My aim is to make XSL filter on XML files.
For Instance
<db>
<museum type="art">bla</museum>
<museum type="paint">bla</museum>
</db>
I want to create an XSL Style sheet in order to create
a new XML file resulting of my search.
<xsl:template match="museum[@type=A COMMAND LINE
VARIABLE]>
<xsl:copy-of select="."/>
</xsl:template>
I hope, its obvious.
Thanks
Sydney
___________________________________________________________
Do You Yahoo!?
Achetez, vendez! À votre prix! Sur http://encheres.yahoo.fr
XSL-List info and archive:
http://www.mulberrytech.com/xsl/xsl-list
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list