title: Retrieving data from xml using xmlDocument, xmlNode and xmlNodelist
body: <p>This is a sample code in vb.net in which i retrieve the details of elements without attributes.</p>
  
  <pre><code>For Each standardItemInfoNode In ItemInfoNodes
          baseDataNodes = ItemInfoNodes.ChildNodes
          bFirstInRow = True
          For Each baseDataNode As XmlNode In baseDataNodes
              If (bFirstInRow) Then
                  bFirstInRow = False
              Else
                  Response.Write("&lt;br&gt;")
              End If
              Response.Write(baseDataNode.Name &amp; ": " &amp; baseDataNode.InnerText)
          Next
      Next
  </code></pre>
  
  <p>How can i retrieve the details of the xml like having node with attributes and its child also having attributes. I need to retrieve all the attributes of node and its child node which are present in the middle of other xml tags.</p>