This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: One for tomorrow :-)


> > 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]