Howard Lewis Ship <hlship <at> gmail.com> writes: > A problem I've been struggling with is that the use of XML parser is that > documents have to be well formed (that's not a minus) and they > have to have a DTD if the document contains any entities. That last part is > a problem for non-XML HTML. And a XML parser > can't make sense of the SGML DTDs for HTML.
Why not use tidy (http://www.w3.org/People/Raggett/tidy)? It will fix most issues of broken html and convert it to XHTML (including inserting a correct DTD according to the conformance of the document detected). -- Author of a book for learning Tapestry (http://www.agileskills2.org/EWDT) --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
