Using HTML Tidy to clean to turn HTML fragments to XHTML fragment s

I would like to use HTML tidy to convert an HTML fragment (i.e. a subset of
things within the <body> of the page) to XHTML.  Is there a command line
option or a way to do this?  HTML tidy always seems to add the <html> and
<body> tags to the fragment.

Patrick

Received on Wednesday, 18 July 2001 23:34:59 UTC