This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
XSLT 1.1 - using node-sets in parameters
- To: "'xsl-list at mulberrytech dot com'" <xsl-list at mulberrytech dot com>
- Subject: XSLT 1.1 - using node-sets in parameters
- From: Matthew Bentley <Matthew dot bentley at brookers dot co dot nz>
- Date: Wed, 6 Sep 2000 13:31:39 +1200
- Reply-To: xsl-list at mulberrytech dot com
Would I be correct in assuming that in XSLT 1.1 you will be able to do this:
<xsl:template match="para/item">
<xsl:call-template name="para.item">
<xsl:with-param name="gentext">
<gentext>
<xsl:text>Basketball</xsl:text>
</gentext>
</xsl:with-param>
</xsl:call-template>
</xsl:template>
<xsl:template name="para.item">
<xsl:param name="gentext" />
<xsl:apply-templates select="$gentext" />
</xsl:template>
Which you can currently do in MSXML3, but not in any others (as far as I am
aware)?
Cheers,
Matt
******************************************************************
Warning: This email, including any attachments,
is for the use of the intended recipient(s) only.
Republication and redissemination,
including posting to news groups or web pages,
is strictly prohibited without the express prior consent of Brooker's Limited.
******************************************************************
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list