[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

XSL command line parameter


Subject: XSL command line parameter
From: Sydney <moisi_fr@xxxxxxxx>
Date: Thu, 18 May 2000 15:16:42 +0200 (CEST)

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



Current Thread
Keywords