xsl:template node set parameter

Subject: xsl:template node set parameter
From: "xsl list" <xsl_list@xxxxxxxxxxx>
Date: Fri, 25 Aug 2000 14:20:42 EDT
Can I pass a set of nodes as a parameter to a template?
From the example below, I need to apply templates to node in the parameter
node set. I expect a template that matches <tag_1> to be invoked. The peoblem is, using Xalan, I am getting the XPATH error:
Can not convert #UNKNOWN to a NodeList!


<xsl:call-template name="temp">
	<xsl:with-param name="p">
		<tag_1><tag_2>V</tag_2></tag_1>
	</xsl:with-param>
</xsl:call-template>

<xsl:template name="temp">
	<xsl:param name="p"/>

	<xsl:apply-templates select="$p/*"/>
</xsl:template>


________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com


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



Current Thread