|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Building a tab-delimited file in XSL
> 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">	</xsl:text> > > 3) A line break is:<xsl:text disable-output-escaping="yes">
</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
|
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








