On Mar 20, 2006, at 10:54 AM, Charles Yeomans wrote:

On Mar 20, 2006, at 11:41 AM, Stephen Tallent wrote:


On Mar 20, 2006, at 10:37 AM, Adam Ernst wrote:

I can't control the format of the HTML; it's from an external application. It's defined to have only the above tags. If the XML classes can handle HTML, please do fill me in.

Well, if it is strict xhtml, then they may work for you. If it is casual html, for example with a commonly unclosed p tag, then they probably won't.

Closing paragraph tags would be a simple exercise. I would think that it would be easier to clean up the HTML than to write another parser.

Interesting to know that the XML parser can handle XHTML. Unfortunately, I know that there are problems with the HTML I'm receiving (closing tags are out of order), so I can't use the XML parser. I'm off to write my own...

Adam

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to