This documentation is archived and is not being maintained.
How to: Access XML Attributes (Visual Basic)
Visual Studio 2008
This example shows how to use an attribute axis property to access XML attributes in an XML element by name. In particular, it uses the type attribute axis property to access the attribute named type in the phone object.