|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: several questions on XML to HTML processing with XSL
> 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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








