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

RE: XHTML fragments

From: Reitzel, Charlie <CReitzel@arrakisplanet.com>
Date: Fri, 23 Nov 2001 14:06:39 -0500
Message-ID: <B5C79DDBC655D311B6BD0008C7E64D76013C1995@exchange.arrakisplanet.com>
To: "'jany.quintard@bigfoot.com'" <jany.quintard@bigfoot.com>, html-tidy@w3.org
Cc: Manos Batsis <m.batsis@bsnet.gr>
Also, if you use the --body-only yes option, you should get just your
original fragment back, without the added
<html><head></head><body></body></html> wrapper.

You need the updated Tidy from SourceForge for this.  See
http://tidy.sourceforge.net for binaries.

take it easy,
Charlie

-----Original Message-----
From: Jany Quintard [mailto:jany.quintard@free.fr]
Sent: Wednesday, November 21, 2001 4:44 AM
To: html-tidy@w3.org
Cc: Manos Batsis
Subject: Re: XHTML fragments


* 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 Friday, 23 November 2001 14:05:37 GMT

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