This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
select="String" as opposed to select="node" when passing parameters with <xsl:call-template>
- To: "'xslt'" <XSL-List at lists dot mulberrytech dot com>
- Subject: [xsl] select="String" as opposed to select="node" when passing parameters with <xsl:call-template>
- From: "Palaniappan, Krishnasamy" <PalaniK at diebold dot com>
- Date: Thu, 21 Dec 2000 12:10:05 -0500
- Reply-To: xsl-list at lists dot mulberrytech dot com
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