parsing xHTML

Matthew Hixson <[email protected]> Sun, 14 Sep 2003 15:35:44 -0700
Newsgroups gmane.comp.java.enhydra.xmlc
Message-ID <[email protected]>
I was playing around with XMLC a bit this afternoon and discovered that 
XMLC was outputting incorrect HTML when my input HTML was a well formed 
XML doc.  For example, I'd close my <img> tags like so:

<img src="foo.png" alt=""/>

With this inside a <td> element XMLC was choosing to open the next <td> 
instead of following the <img> tag with </td>.  Anyway, I fixed it by 
writing non-well formed HTML.  Is there a way to get XMLC to do the 
right thing when I write xHTML?
   Thanks,
    -M@