Friday 12 May 2017

Best way to extract a block of HTML from a string of HTML?

So, for example, I have a string that represents an entire HTML page. Could be a couple of MB worth of HTML, this is complex dynamically rendered HTML.inside this block, is a single block. It could be quite large, or small, depending on the HTML in question. The Table will have a specified id="resultTable" on the tag.What's the best approach to extract the FULL content of the table, as HTML. I need the to tags to come back as a complete string, not just the content/information in the cells, which will then be further processed.Anyone done something similar?Thanks,

Submitted May 12, 2017 at 07:29AM by VIDGuide

No comments:

Post a Comment