[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

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
xsl set parameter
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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.