.NET and XML
.NET and XML Contents
Summary How to Get the Attribute Value with XmlNodeReader and GetAttribute?
Sometimes it is necessary to get the attribute value of a specific node. This can be achieved with the GetAttribute function. You can simply pass the name of the ID and it will return the value. However if the attribute is not found, then it will return a null reference. In the example I am using the following XML file:
Partners
Dream.In.Code dotNet Slackers dotNet Spider Your HTML Source VisualBuilder.com DevGuru Planet Source Code ZVON.ORG Web Design ASPAlliance XML Pitstop Scripts
The Spot 4 SAP Bitshop Web Hosting