[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Building a tab-delimited file in XSL

Subject: Re: Building a tab-delimited file in XSL
From: David Carlisle <davidc@xxxxxxxxx>
Date: Thu, 15 Jun 2000 18:02:12 +0100 (BST)
xsl text tab
> The first thing you need to do is be sure the output is "text".
> 
> 2) To do a tab<xsl:text disable-output-escaping="yes">&#009;</xsl:text>
> 
> 3) A line break is:<xsl:text disable-output-escaping="yes">&#010;</xsl:text>

disable-output-escaping is having no effect here, that only affects <
and &.

You only need the <xsl:text> at all if you only want to output a tab.
ie the situation is exactly same as outputting a space, if the text node
in your stylesheet contains more than just white space then it will be
output, but if it is all white it will be stripped and you need xsl:text
so

<xsl:template match="xxx">
<xsl:text>    </xsl:text>
<xsl:text>===</xsl:text>
1	2
</xsl:template>

will output
TAB===NEWLINE1TAB2NEWLINE

David


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.