Menu

parsing XML in HTML

Help
Ted X Toth
2004-10-11
2013-04-27
  • Ted X Toth

    Ted X Toth - 2004-10-11

    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?

     
    • Derrick Oswald

      Derrick Oswald - 2004-10-11

      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

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.