Re: Tidy not quite processing XML as I would like

Bjoern Hoehrmann <[email protected]>
Newsgroups gmane.comp.web.html-tidy.user
Message-ID <[email protected]>
* 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:[email protected] · 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/
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.