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

Re: [xsl] XSLT 1.0 serializer for XML


Subject: Re: [xsl] XSLT 1.0 serializer for XML
From: David Carlisle <davidc@xxxxxxxxx>
Date: Thu, 19 Aug 2010 17:42:38 +0100

On 19/08/2010 17:38, Hermann Stamm-Wilbrandt wrote:
But the display in IE8 is as ugly as before ...

ah it depends what you are doing, if you are doing an in-browser display of the xml source, the msxml parser will have removed all white space from the source (rather than from the result) before xslt starts, in which case you need to "manually" indent the result, adding white space (or nbsp). To test if this is the problem ass xml:space="presrve" to your test document that you are serialising.


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