mike <> wrote:
> Could I achieve the above 10 steps by using HTMLparer?
> http://htmlparser.sourceforge.net/javadoc/index.html
>
> Welcome to see your opinions.
> Or maybe I may try another api like JDOM?
> http://www.jdom.org/docs/apidocs/index.html
I only took a brief look at the HTMLParser project you mentioned, but it
looks like it compares poorly to NekoHTML and Xerces, the combination of
which would allow you to easily parse XML into a standardized DOM model,
perform the transformations you propose to convert to XHTML (though
NekoHTML would do a lot of the work for you), and finally serialize out
to an XML document.
The big difference is in the DOM interface, which is the universal
standard representation of an XML document, versus the HTMLParser
project's proprietary interface, which doesn't appear to be much
intended for XML at all.
--
www.designacourse.com
The Easiest Way To Train Anyone... Anywhere.
Chris Smith - Lead Software Developer/Technical Trainer
MindIQ Corporation