.NET and XML
.NET and XML Contents
Summary How to use the Item property in XmlTextReader?
Like the GetAttribute method you can use the Item property get the attribute value from an XML element. The Item property can be used on the following forms:
The first method accepts the name of the attribute. The second one accepts an index starting with 0. The third one takes the name of the attribute and the namespace URI of the attribute. Here is a small example.
Output: Item with integer: 0 Item with string: 0 Item with integer: 1 Item with string: 1 Item with integer: 2 Item with string: 2 Item with integer: 3 Item with string: 3 Item with integer: 4 Item with string: 4
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