|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: NEWLINES
Dave Pawson wrote:
> I think it was Jeni Tennidots who gave us
> <xsl:value-of select='xxx'/><xsl:text/>
> <xsl:value-of select='yyy'/>
>
> to make this a little prettier.
If you mean:
<xsl:value-of select="xxx" />() {<xsl:text />
<xsl:value-of select="yyy" />
Then that was David Allouche, not me :)
The more sensible XSLT 2.0 way is:
<xsl:text><xsl:value-of select="xxx" />() {</xsl:text>
<xsl:value-of select="yyy" />
Although of course you could just use concat() to solve the whitespace
problems instead:
<xsl:value-of select="concat(xxx, '() {', yyy)" />
Cheers,
Jeni
---
Jeni Tennison
http://www.jenitennison.com/
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
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
|

Cart








