Re: [xsl] transforming from xml to text -- creates a blank line on the first line

Subject: Re: [xsl] transforming from xml to text -- creates a blank line on the first line
From: David Carlisle <davidc@xxxxxxxxx>
Date: Tue, 25 Oct 2005 14:11:48 +0100
Any white space in the output is generated by one of three possible ways

1) use of intent="yes"
   this does not apply here as the text output method never indents.
2) Whitespace copied from the source. 
3) Whitespace generated by the stylesheet.

So if you have blank lines in teh result it is either 2 or 3, but since
we haven't seen your source or stylesheet it's hard to guess.

I'd guess it is 2: and that you are applying templates to text nodes and
using the default template for text nodes, which is to copy them to the
result.

David

________________________________________________________________________
This e-mail has been scanned for all viruses by Star. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________

Current Thread