[xsl] select="String" as opposed to select="node" when passing paramete rs with <xsl:call-template>

Subject: [xsl] select="String" as opposed to select="node" when passing paramete rs with <xsl:call-template>
From: "Palaniappan, Krishnasamy" <PalaniK@xxxxxxxxxxx>
Date: Thu, 21 Dec 2000 12:10:05 -0500
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?

Thanks,
Krish

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread