xsl-list
[Top] [All Lists]

Re: [xsl] Help on node selection

2010-08-27 10:18:49
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/

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--