C
C#•2y ago
_wardh

Html.Agility Pack selecting all div nodes by id (more then one)?

Hi, I have and html document and there are multiple div tags in there (embedded like a treeview) As the titles suggests how can I select all nodes that match a specific ID. Looking for a simple example + how to then iterate through all of them. Thanks Ward.
2 Replies
Anton
Anton•2y ago
ids are unique within a document that's the point of an id
_wardh
_wardhOP•2y ago
Hi @AntonC opps you are correct. I used the wrong term I will adjust my question. It should be by class Thanks for your help btw 🙂
Want results from more Discord servers?
Add your server