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

Re: XML pretty-printing and entities

From: Paul DuBois <paul@kitebird.com>
Date: Sun, 18 Jan 2004 18:50:18 -0600
Message-Id: <p06020407bc30d9affc9b@[]>
To: Bjoern Hoehrmann <derhoermi@gmx.net>
Cc: html-tidy@w3.org

At 1:10 +0100 1/7/04, Bjoern Hoehrmann wrote:
>* Jany Quintard wrote:
>>Is there a possibility when pretty-printing an XML file with tidy
>>to avoid the replacement of entities such as &MyEntity; by things like

I also wanted an XML reformatter that wouldn't attempt to resolve entities.
What with that and other requirements, I ended up writing one myself.
If you want to try it, it's available here:


The parsing code is based on Robert Cameron's REX, which performs a purely
lexical parse with no entity resolution involved.

>>I am using the following command line
>>tidy -i -xml -asxml myxmlfile.xml
>>With these switches, can I tell tidy not to break on some inline elements?
>I guess no, but could you give an example
>of what Tidy does and should do instead?
Received on Sunday, 18 January 2004 19:50:21 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:38:54 UTC