Subject: [xsl] <xsl:value-of select="for ..." separator=", "> From: Kevin Rodgers <kevin.rodgers@xxxxxxx> Date: Fri, 6 May 2005 14:04:13 -0600 |
In my XSLT 2.0 stylesheet processed by Saxon 8.3, I had this: <xsl:value-of select="for $relation in $relation-list return esd:xref-doc-num($mb3-connection, $relation)" separator=", "/> But the results of the function calls were concatenated, without the separator string between them. Using string-join() like this yields the desired results: <xsl:value-of select="string-join(for $relation in $relation-list return esd:xref-doc-num($mb3-connection, $relation), ', ')"/> But why is that necessary? Why doesn't the xsl:value-of separator attribute work as I expect? Thanks, -- Kevin Rodgers
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] Recursively Walking Throu, Aron Bock | Thread | RE: [xsl] <xsl:value-of select="for, Michael Kay |
Re: [xsl] A challenge.. Group Perio, Karl Stubsjoen | Date | [xsl] minor grouping issue, Bruce D'Arcus |
Month |