|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: select="String" as opposed to select="node" when p
"Palaniappan, Krishnasamy" wrote:
>
> Hi,
> I have a template with one parameter. When I call the template;
> <xsl:call-template name="tname">
> <xsl:with-param name="var1" select="STRING"/>
> </xsl:call-template>
>
> When i try to to do this, it returns an error because there is no <STRING> node. However, what I actually want is for the literal 'STRING' to be passed as an argument to the template.
>
> Is this possible?
Yes, just do this:
<xsl:call-template name="tname">
<xsl:with-param name="var1">STRING</xsl:with-param>
</xsl:call-template>
--
Mike.Moran@xxxxxxxxxxx
Web: http://houseofmoran.com/
AvantGo: http://houseofmoran.com/Lite/
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








