View Single Post
  #1 (permalink)  
Old November 22nd, 2007, 03:55 AM
RoeZ RoeZ is offline
Authorized User
 
Join Date: Oct 2007
Location: , , .
Posts: 22
Thanks: 0
Thanked 0 Times in 0 Posts
Default for-each on result tree fragment

I have this
Code:
<xsl:call-template name="select">
<xsl:with-param name="options">
<option><name>1</name><value>test1</value></option>
<option><name>2</name><value>test2</value></option>
</xsl:with-param>
</xsl:call-template>
i my select template i have:
Code:
<xsl:param name="options" />
<xsl:for-each select="exslt:node-set($options)/node()">
My question: how do i get the nodes called 'name' and 'value' in my for-each


Reply With Quote