|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
HtmlElement.GetAttributeI am trying to extract css class name attributes from all tags in a html
file: HtmlDocument myDoc = myWebBrowser.Document; foreach (HtmlElement myElement in myDoc.All) { Debug,WriteLine(myElement.GetAttribute("CLASS")); } even when it hits a tag with the class attribute, GetAttribute returns an empty string. Debugging lets me see that the tag does have the class attribute with a value (using myElement.outer Any ideas ? |
|||||||||||||||||||||||