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

Re: input-xml

From: Rasmus Lerdorf <rasmus@lerdorf.com>
Date: Fri, 10 Feb 2006 12:56:17 -0800
Message-ID: <43ECFDF1.4020303@lerdorf.com>
To: Bjoern Hoehrmann <derhoermi@gmx.net>
CC: html-tidy@w3.org

Bjoern Hoehrmann wrote:
> There is a workaround that might work for you though, you can use the
> HTML input mode and declare all elements you use in advance, assuming
> they don't clash with HTML elements, so, with the command line tool,
>   % tidy --indent yes --indent-spaces 4 --markup yes --wrap 4096 \
>      --new-blocklevel-tags "top level2 level3" --show-body-only yes

Ok, this works.  I lose my xml definition tag at the top, and it is a 
bit of a pain having to define all my tags, but it'll do.  Thanks.

> Tools like http://www.kitebird.com/software/xmlformat/ would be more
> suitable here in any case though.

I need something I can embed in my code though.  Having to exec Perl to 
do it, doesn't help me much.

Received on Friday, 10 February 2006 20:56:59 UTC

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