RE: xml and html cleanup

> Is it possible to get Html Tidy to make any HTML inside of XML
> well formed?
> I've played with the config.txt, but have yet to make it work.
>
> In this example, it would need to output XML, but also close the
> <br> tags to
> make it well formed XML.
>
> <?xml version="1.0"?>
> <FAQ xmlns="http://www.w3.org/TR/REC-html40"
> xmlns:FAQ="x-schema:faqSchema.xml">
> 	<FAQ:TITLE>This is the title</FAQ:TITLE>
> 	<FAQ:PARAGRAPH>
> 		<FAQ:HEADER>This is the <i>header</i></FAQ:HEADER>
> 		<FAQ:BODY>This is the first body line.<br>This is
> the second body
> line.<br></FAQ:BODY>
> 	</FAQ:PARAGRAPH>
> </FAQ>
>
> -Mark

I was actually looking for the reverse feature: to have tidy pass through
any "xml" islands (unknown tags explicitly placed into a different XML
namespace)...

Received on Tuesday, 9 May 2000 02:30:51 UTC