Subject: RE: several questions on XML to HTML processing with XSL From: Kay Michael <Michael.Kay@xxxxxxx> Date: Fri, 9 Jun 2000 15:50:14 +0100 |
> 4. How do I declare a variable parametername? > > I'd like to do the following, but Saxon returns an errormessage on the > <xsl:with-param> line (invalid $ character). > > <xsl:variable > name="ParamName">someXMLtag/@someAttribute</xsl:variable> > > <xsl:call-template name="SomeTemplateName"> > <xsl:with-param name="$ParamName">whateverValue</xsl:with-param> > </xsl:call-template> > > How should I do this? Leave out the "$" sign. It's not part of the parameter's name, it's only used to identify a variable when used within an XPath expression. Mike Kay XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: several questions on XML to HTM, Warren Hedley | Thread | RE: several questions on XML to HTM, H . vanderLinden |
RE: Xpath and copy-of, Kevin Williams | Date | New Zvon XSLT reference in preparat, Miloslav Nic |
Month |