|
Single Space Separator in xsl:attribute: msg#00136text.xml.saxon.help
Hi all, I try to use a single space as a separator in an xsl:attribute instruction where the xsl:attribute instruction contains a sequence constructor. Unfortunately it seems that the single space is replaced by an empty string. The following stylesheet yiels an element with two attributes the value of the first attribute is "123" and the value of the second one is "1-2-3". Isn't it possible to use a single space as a separator together with a sequence constructor? Best regards, --Stefan <xsl:template match="/"> <xsl:message> <x> <xsl:attribute name="a" separator=" "> <xsl:sequence select="1, 2, 3"/> </xsl:attribute> <xsl:attribute name="b" separator="-"> <xsl:sequence select="1, 2, 3"/> </xsl:attribute> </x> </xsl:message> </xsl:template> ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | RE: Extension functions: array conversion bug: 00136, Michael Kay |
|---|---|
| Next by Date: | RE: Single Space Separator in xsl:attribute: 00136, Michael Kay |
| Previous by Thread: | Was: Template recursion, StackOverflowwError, saxon:while a nd variable assignabilityi: 00136, Dimitre Novatchev |
| Next by Thread: | RE: Single Space Separator in xsl:attribute: 00136, Michael Kay |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |