Quantcast
Channel: htmlagilitypack Forum Rss Feed
Viewing all articles
Browse latest Browse all 655

New Post: How can I step through all nodes?

$
0
0

I need to be able to process all the HTML elements in sequence, as I'm looking for "context" not just a particular type of node.  For example, I want to search for a particular comment, followed by a particular H2, which is then followed by a particular A.

I have to imagine that there's a way to do this, but I'm coming up empty so far.  I'd like to have a HTMLNodeCollection that has a flat collection of the nodes.

 

Dan


Viewing all articles
Browse latest Browse all 655


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>