Subject: Re: Building a tab-delimited file in XSL From: David Carlisle <davidc@xxxxxxxxx> Date: Thu, 15 Jun 2000 18:02:12 +0100 (BST) |
> 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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: Building a tab-delimited file i, ed billings | Thread | Re: Building a tab-delimited file i, Brian Burridge |
Re: Building a tab-delimited file i, Brian Burridge | Date | Re: xsl:script and Xalan ?, Warren Hedley |
Month |