[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Inserting a separator only between non-empty strin
Michael Kay wrote:
Another suggestion <xsl:value-of select="($a, $b, $c)[.]" separator="|" /> if content contains nodes, including empty ones which you don't want output, you can change it to: <xsl:value-of select="($a, $b, $c)[string(.)]" separator="|" /> if you do not want relevant whitespace-only nodes to appear (you can also use strip-space or) : <xsl:value-of select="($a, $b, $c)[normalize-space(.)]" separator="|" />
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|