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

xml and html cleanup

From: CyberPuck <cyberpuck@netscape.net>
Date: Mon, 8 May 2000 15:40:40 -0400 (EDT)
Message-ID: <20000508194029.22459.qmail@wwcst269.netaddress.usa.net>
To: html-tidy@w3.org
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


____________________________________________________________________
Get your own FREE, personal Netscape WebMail account today at http://webmail.netscape.com.
Received on Monday, 8 May 2000 17:09:45 GMT

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