W3C home > Mailing lists > Public > html-tidy@w3.org > January to March 2008

Re: iso entities (newbies question)

From: Arnaud Desitter <arnaud02@users.sourceforge.net>
Date: Wed, 13 Feb 2008 07:58:07 +0000
Message-ID: <a240ddd00802122358r1cc9594foe59366f9f13f4208@mail.gmail.com>
To: "Tex User" <texuser74@yahoo.com>
Cc: html-tidy@w3.org

Try "--preserve-entities yes"
http://tidy.sourceforge.net/docs/quickref.html#preserve-entities

Regards,

On 12/02/2008, Tex User <texuser74@yahoo.com> wrote:
>
> Hi,
>
> My xml file is produced in single line, so i use the following command to pretty print.
>
> tidy -xml input.xml > output.xml
>
> But the enities in my input.xml file are also getting changed.
>
> e.g.
> input.xml => output.xml
>   =>
> ( => (
> ) => )
>
> Please let me know how to retain my original entities ( ) and
>
> Thanks in advance.
>
> ---------------------------------
> Looking for last minute shopping deals?  Find them fast with Yahoo! Search.
> --0-595782826-1202801724=:7622
> Content-Type: text/html; charset=iso-8859-1
> Content-Transfer-Encoding: 8bit
>
> Hi,<br><br>My xml file is produced in single line, so i use the following command to pretty print.<br><br>tidy -xml input.xml > output.xml<br><br>But the enities in my input.xml file are also getting changed.<br><br>e.g.<br>input.xml => output.xml<br>&#x00A0; => &#160;<br>&#x0028; => (<br>&#x0029; => )<br><br>Please let me know how to retain my original entities &#x0028; &#x0029; and &#x00A0;<br><br>Thanks in advance.<p>
>      <hr size=1>Looking for last minute shopping deals? <a href="http://us.rd.yahoo.com/evt=51734/*http://tools.search.yahoo.com/newsearch/category.php?category=shopping">
> Find them fast with Yahoo! Search.</a>
> --0-595782826-1202801724=:7622--
>
>
>
>
Received on Wednesday, 13 February 2008 07:59:37 GMT

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