Subject: Re: [xsl] Attribute "separator" of xsl:value-of in XSLT 2.0 From: Andrew Welch <andrew.j.welch@xxxxxxxxx> Date: Mon, 9 May 2011 12:13:37 +0100 |
>> <author> >> <first>Priscilla</first> >> <last>Walmsley</last> >> </author> >> >> Using Saxon HE 9-3-0-4j and assuming the current node is the parent of >> author, the result of >> >> <xsl:value-of select="author" separator=" "/> >> >> or >> >> <xsl:value-of select="author" separator="' '"/> >> >> is the same as >> >> <xsl:value-of select="author"/> >> >> that is, 'PriscillaWalmsley'. > > There is white space before the "first" element, between the "first" and the > "last" element and after the "last" element, I would expect that to be > output as well with <xsl:value-of select="author"/>. ...only if the default stripping of whitespace only nodes was changed to preserve - right? -- Andrew Welch http://andrewjwelch.com
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Attribute "separator" of , Martin Honnen | Thread | Re: [xsl] Attribute "separator" of , Martin Honnen |
Re: [xsl] Attribute "separator" of , Andrew Welch | Date | Re: [xsl] Attribute "separator" of , Martin Honnen |
Month |