RE: [xsl] One for tomorrow :-)

Subject: RE: [xsl] One for tomorrow :-)
From: "Michael Kay" <mhkay@xxxxxxxxxxxx>
Date: Tue, 3 Jul 2001 17:40:09 +0100
> > that I want to display NameAddress1, and also need to
> > concat all following Nodes that end in a comma.
>
> <xsl:template match="NameAddress1">
>  <xsl:value-of select=".">
>  <xsl:for-each sellect="following-sibling:*
>         [contains(concat(.,'QWERTYUIOP'),',QWERTYUIOP')]">
>   <xsl:value-of select=".">
>  </xsl:for-each>
> </xsl:template>
>

I think he wants to stop at the first following sibling that doesn't end in
",", which means it probably needs to be a recursive template.

Mike Kay


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread