RE: XHTML fragments

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 UTC