This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

XSLT 1.1 - using node-sets in parameters


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]