Re: iso entities (newbies question)

"Arnaud Desitter" <[email protected]>
Newsgroups gmane.comp.web.html-tidy.user
Message-ID <[email protected]>
Try "--preserve-entities yes"
http://tidy.sourceforge.net/docs/quickref.html#preserve-entities

Regards,

On 12/02/2008, Tex User <[email protected]> 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--
>
>
>
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.