Re: iso entities (newbies question)

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 UTC