W3C home > Mailing lists > Public > html-tidy@w3.org > October to December 2001

Re: XHTML fragments

From: Jany Quintard <jany.quintard@free.fr>
Date: Wed, 21 Nov 2001 10:44:02 +0100
To: html-tidy@w3.org
Cc: Manos Batsis <m.batsis@bsnet.gr>
Message-ID: <20011121104401.C22902@p552c69w>
* Manos Batsis [Wed, 21/11/2001 at 11:25 +0200]
> 
> Hi folks,
> 
> I am trying to "tidy" (X)HTML fragments. The problem is that Tidy
> corrects them as documents, adding html, head and body tags etc.
> I tried to prevent this using the "input-xml" option, but this disables
> error correction.
 maybe wrong, but it seems that 
 tidy -xml -asxml myfile.xml
works fine
-- 
Jany

------------------------------------------------------------------------
Jany Quintard               | I always wanted to be somebody,
jany.quintard@bigfoot.com   | but I should have been more specific.
                            |  Lily Tomlin
Received on Wednesday, 21 November 2001 04:44:14 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 3 April 2012 06:13:46 GMT