[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] Transformer adds unwanted newlines


Subject: Re: [xsl] Transformer adds unwanted newlines
From: David Carlisle <davidc@xxxxxxxxx>
Date: Fri, 3 Oct 2008 12:41:36 +0100

> Anyone got any ideas what I can do about this?

If you can't change the software then presumably there is nothing you
can do, unless...

Actually I'm surprised by 
 indent="no" to my <xsl:output> tag but this has no effect.


It's not that surprising that some bad newlines get added when they
should not when it is indenting as the xslt 1 rules are rather hard (just
basically saying that space should not be added where it would show)

but ignoring indent=no sounds less likely, are you sure you don't have
another xsl:output somewhere, or that you are not outputing an XMl tree
that is then being serialised by some other JDK methord rather than
being serialised by XSLT?

David


________________________________________________________________________
The Numerical Algorithms Group Ltd is a company registered in England
and Wales with company number 1249803. The registered office is:
Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom.

This e-mail has been scanned for all viruses by Star. The service is
powered by MessageLabs. 
________________________________________________________________________


Current Thread
Keywords