[Home] [By Thread] [By Date] [Recent Entries]
Kasimier Buchcik wrote:
Use curly braces around the param's name:No joy.... I'm still working through the template priority logic... Michael's suggestion about template defaults sounds encouraging. Changed to: <xsl:template match="physInterfaceSupportedAutonegotiation"> <xsl:param name="SupportedNegotiate"/> <xsl:element name="physInterfaceSupportedAutonegotiation"><xsl:value-of select="{$SupportedNegotiate}"/></xsl:element> </xsl:template> Xalan: java -cp ~/src/livecd/thirdparty/java/xalan/2.7.0/xalan.jar org.apache.xalan.xslt.Process -XSL test.xsl -IN default.xml SystemId Unknown; Line #66; Column #107; XSLT Error (javax.xml.transform.TransformerConfigurationException): javax.xml.transform.TransformerException: javax.xml.transform.TransformerException: A location path was expected, but the following token was encountered: { xsltproc: /xsltproc test.xsl default.xml XPath error : Invalid expression
{$SupportedNegotiate}
^
compilation error: file test.xsl line 66 element value-of
xsl:value-of : could not compile select expression '{$SupportedNegotiate}'
|

Cart



