W3C home > Mailing lists > Public > html-tidy@w3.org > July to September 2007

Re: Tidy not quite processing XML as I would like

From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Tue, 24 Jul 2007 02:00:57 +0200
To: codefire <tbedford_csl@hotmail.com>
Cc: html-tidy@w3.org
Message-ID: <f5gaa3hal66fpicb4aqlqf1s4qkmdfllbm@hive.bjoern.hoehrmann.de>

* codefire wrote:
>Note the linkto tags are put on their own lines. Also, notice that the space
>between the tag and the 'and' has disappeared. I wouldn;t mind the inline
>tags being on their own line so much if spaces were handled correctly.

># XML directives
>input-xml: yes

If your input document is HTML with some extra elements, you should not
specify this parameter. If it is just some custom XML format, there is
probably no way right now to get the formatting right. There are other
more suitable tools than Tidy to format XML documents. The Tidy bug
tracker (linked from http://tidy.sf.net) has a number of bugs filed on
XML pretty printing. They are unlikely to be addressed any time soon.
-- 
Björn Höhrmann · mailto:bjoern@hoehrmann.de · http://bjoern.hoehrmann.de
Weinh. Str. 22 · Telefon: +49(0)621/4309674 · http://www.bjoernsworld.de
68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ 
Received on Tuesday, 24 July 2007 00:01:02 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 10 December 2014 20:10:00 UTC