[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] xsl:template node 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 parameternode 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>
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|