W3C home > Mailing lists > Public > html-tidy@w3.org > April to June 2001

Re: XML Tidy?

From: Klaus Johannes Rusch <KlausRusch@atmedia.net>
Date: Mon, 18 Jun 2001 20:26:42 CET
Message-Id: <200106181835.OAA27289@tux.w3.org>
To: <html-tidy@w3.org>
In <Pine.LNX.4.33.0106181025230.30759-100000@terbidium.openservices.net>, Ignacio Vazquez-Abrams <ignacio@openservices.net> writes:
> I was wondering if there exists any version or variant or configuration of
> Tidy which could deal with an XML/HTML hybrid? More specifically I need to
> just deal with the stuff that would appear inside the BODY tag, without adding
> the HTML, HEAD, and TITLE tags. I have tried a lot of configuration options
> for HTML Tidy, but have had no success so far.

You can either use the -xml option to only process the fragment as an XML 
fragment, however this will not do any of the usual HTML cleanup.

Or, run the fragment through tidy using the -asxml option, then extract 
everything between <body> and </body>.

Klaus Johannes Rusch
Received on Monday, 18 June 2001 14:35:08 UTC

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