[jdom-interest] bad boy tag

Mark Ayad mayad at ogilvy.net
Thu Oct 11 10:22:10 PDT 2001


Hi All,

<book>
	<content>
		<html><head></head><body><h2>Introduction</h2><p><img alt="bad boy
tag">There is a .</p></body></html>
	</content>
</book>

What is the best way to handle 'not well formatted html' within an xml
document.
My first choice is to cheat and just wrap the content as a comment <!-- -->

Or should I use a dtd to tell the parser that the element <content> contains
not well formatted html ?

Any example anyone.

If this has been covered before <please forgive="me">

Mark





More information about the jdom-interest mailing list