XmlNodeList elemList = doc.GetElementsByTagName(...);
for (int i = 0; i < elemList.Count; i++)
{
string attrVal = elemList[i].Attributes["SuperString"].Value;
}
More Related Contents:
- How would you compare two XML Documents?
- How to prevent blank xmlns attributes in output from .NET’s XmlDocument?
- Removing nodes from an XmlDocument
- Reading XML with an “&” into C# XMLDocument Object
- XDocument or XmlDocument
- Generate C# class from XML
- SelectSingleNode returns null when tag contains xmlNamespace
- Format a date in XML via XSLT
- Escape invalid XML characters in C#
- String escape into XML
- How to deal with XML in C#
- How to read attribute value from XmlNode in C#?
- how to use XPath with XDocument?
- How to Select XML Nodes with XML Namespaces from an XmlDocument?
- get line number for XElement here
- XmlSerializer – There was an error reflecting type
- Entity Framework with XML Files [closed]
- How to serialize/deserialize simple classes to XML and back
- Fastest way to add new node to end of an xml?
- XML Parsing – Read a Simple XML File and Retrieve Values
- Passing parameters to XSLT Stylesheet via .NET
- How to write a comment to an XML file when using the XmlSerializer?
- Deserializing XML File with multiple element attributes – attributes are not deserializing
- Getting specified Node values from XML document
- Generating XML file using XSD file
- XmlSerializer Performance Issue when Specifying XmlRootAttribute
- How can I remove empty xmlns attribute from node created by XElement
- How do I return XML from a Stored Procedure?
- How can I convert a DataTable to an XML file in C#?
- How to add xmlnamespace to a xmldocument