This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: One for tomorrow :-)
- To: <xsl-list at lists dot mulberrytech dot com>
- Subject: RE: [xsl] One for tomorrow :-)
- From: "Michael Kay" <mhkay at iclway dot co dot uk>
- Date: Tue, 3 Jul 2001 17:40:09 +0100
- Reply-To: xsl-list at lists dot mulberrytech dot com
> > 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