W3C home > Mailing lists > Public > html-tidy@w3.org > October to December 2008

Re: xml preserve whitespace in node text

From: Arnaud Desitter <arnaud02@users.sourceforge.net>
Date: Wed, 31 Dec 2008 13:26:30 +0000
Message-ID: <a240ddd00812310526q5d2817f7w4dffb95394722539@mail.gmail.com>
To: dinges <b.ambrosius@concepts.nl>
Cc: html-tidy@w3.org

Hi,

Try to add the attribute "xml:space" set to "preserve" on the related elements.
Tidy option "add-xml-space" may help.

Regards,

2008/12/30 dinges <b.ambrosius@concepts.nl>:
>
> Hi,
>
> I'm using tidy to tidy up my xml. For that I have a config file that works
> well in all respects but one: the node text is normalized. However, I want
> to keep the whitespace (lots of spaces). Is there a config setting to
> achieve that? I don't have problems with the attributes, only with text
> nodes.
>
> --
> View this message in context: http://www.nabble.com/xml-preserve-whitespace-in-node-text-tp21221443p21221443.html
> Sent from the w3.org - html-tidy mailing list archive at Nabble.com.
>
>
>
>
Received on Wednesday, 31 December 2008 15:50:44 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 3 April 2012 06:13:59 GMT