How to get all the attributes of an HtmlElement?
System.Windows.Forms.HtmlElement.GetAttribute can be used to get value of an atribute by its name, How can I get the name of all attributes for an HTMLElement?
Thanks
[169 byte] By [
XGR131] at [2007-12-16]
you can use mshtml if you likeload the entire document and then you can access all the various elements by name, i.e., doc.BodyElement, I haven't used it in a while but I would be shocked if the attrib were not in a collection of each element....
i guess that would be one way to look at itof course, if your html is well formed, then you just load it in an xmlreader, there you have it...no shortcoming