[xslt] Parameters on the command line



I am executing:
xsltproc --param paramx y vehicles.xsl cardata.xml

and the xsl has:

<xsl:template match="profile">
    <xsl:param name="paramx"/>
    <xsl:value-of select="$paramx"/>
</xsl:template>

But the 'y' never shows up.

(profile is the main element in cardata.xml)

Any help you can give me would be greatly appreciated.




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]