I'm trying to create a simple tool to parse html files.
Specifically, I need it to get all the name
attributes out of all the div
tags.
My HTML string varies and I don't have any control over it, so if I try and use xpath I tend to get errors as the HTML is not 100% written correctly.
Any ideas?
Thanks,