Re: [xsl] Help on node selection

Subject: Re: [xsl] Help on node selection
From: Martin Honnen <Martin.Honnen@xxxxxx>
Date: Fri, 27 Aug 2010 17:18:26 +0200
Fabien Tillier wrote:

<xsl:template name = "domain">
	<xsl:param name="rows" as="element(row)*"/>
	<!--<xsl:value-of select="."/>-->
	<xsl:for-each select=".">
		<xsl:value-of select ="row/N2"/>,

I think you simply want
<xsl:value-of select="$rows/N2" separator=","/>
which would output a comma separated list of the string values of the "N2" child elements of the "row" elements passed in as the parameter named "rows".


--

	Martin Honnen
	http://msmvps.com/blogs/martin_honnen/

Current Thread