I am parsing some HTML which contains XML. It seems that child xml elements do not appear as child nodes of their parent. Is this by design? Do I need to write a custom tag handler for this situation? If so is there an example I could follow?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I am parsing some HTML which contains XML. It seems that child xml elements do not appear as child nodes of their parent. Is this by design? Do I need to write a custom tag handler for this situation? If so is there an example I could follow?
The parent won't contain children unless it derives from CompositeTag (the default tag for unknown tag names does not). Look ar Parsing RSS Feeds for an example:
http://htmlparser.sourceforge.net/wiki/index.php/RSSFeeds