W3C home > Mailing lists > Public > html-tidy@w3.org > April to June 2000

RE: xml and html cleanup

From: Julian Reschke <reschke@medicaldataservice.de>
Date: Tue, 9 May 2000 08:30:55 +0200
To: "CyberPuck" <cyberpuck@netscape.net>, <html-tidy@w3.org>
Message-ID: <NCBBIPMOPKLLGKJPBINCCEFFEDAA.reschke@medicaldataservice.de>
> 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 GMT

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