Re: input-xml

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.

-Rasmus

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