xml reader not reading xml file and displaying in label
<p>This code is supposed to read from an existing xml file, and write the contents into a label, however, it does not work, and i do not know where i am going wrong. Help would be appreciated.</p>

<pre><code>Dim reader As New XmlTextReader(Server.MapPath("~/ex01/docP.xml"))
            'declare variable to record when a &lt;name&gt; element is found'
            Dim bName As Boolean = False
            'iterate through all of the nodes in the XML document'
            While reader.Read()
                'look at the node type of each node'
                Select Case reader.NodeType
                    'if node is a &lt;name&gt; element, remember it'
                    Case XmlNodeType.Element
                        If reader.Name = "name" Then
                            bName = True
                        End If
                        'if node is text &amp; previous node was &lt;name&gt;, add it to Label'
                    Case XmlNodeType.Text
                        If bName Then
                            lblDisplayXml.Text &amp;= reader.ReadString &amp; "&lt;br/&gt;"
                            'reset variable for next node'
                            bName = False
                        End If
                End Select
            End While
        End Sub
    End Class
</code></pre>

<p>the xml file:</p>

<pre><code>&lt;?xml version="1.0" standalone="yes"?&gt;
&lt;book_club&gt;
  &lt;book&gt;
    &lt;isbn&gt;0-13-129014-2&lt;/isbn&gt;
    &lt;title&gt;JAVA How to Program (6th Ed)&lt;/title&gt;
    &lt;author&gt;PJ &amp;amp; HM Deitel&lt;/author&gt;
    &lt;price&gt;£39.99&lt;/price&gt;
  &lt;/book&gt;
  &lt;book&gt;
    &lt;isbn&gt;0-67-232238-2&lt;/isbn&gt;
    &lt;title&gt;Teach Yourself UML&lt;/title&gt;
    &lt;author&gt;J Schmuller&lt;/author&gt;
    &lt;price&gt;£9.99&lt;/price&gt;
  &lt;/book&gt;
  &lt;book&gt;
    &lt;isbn&gt;0-27-365575-2&lt;/isbn&gt;
    &lt;title&gt;Practical Business Systems Development using SSADM&lt;/title&gt;
    &lt;author&gt;P Weaver, N Lambrou &amp;amp; M Walkley&lt;/author&gt;
    &lt;price&gt;£34.99&lt;/price&gt;
  &lt;/book&gt;
  &lt;book&gt;
    &lt;isbn&gt;0-67-232422-9&lt;/isbn&gt;
    &lt;title&gt;XML Primer Plus&lt;/title&gt;
    &lt;author&gt;N Chase&lt;/author&gt;
    &lt;price&gt;£32.99&lt;/price&gt;
  &lt;/book&gt;
  &lt;book&gt;
    &lt;isbn&gt;0-78-972476-6&lt;/isbn&gt;
    &lt;title&gt;XML and Java from Scratch&lt;/title&gt;
    &lt;author&gt;N Chase&lt;/author&gt;
    &lt;price&gt;£19.99&lt;/price&gt;
  &lt;/book&gt;
  &lt;book&gt;
    &lt;isbn&gt;1234567890&lt;/isbn&gt;
    &lt;title&gt;ASP.NET for Dummies&lt;/title&gt;
    &lt;author&gt;RUA Dummy&lt;/author&gt;
    &lt;price&gt;free!!&lt;/price&gt;
  &lt;/book&gt;
&lt;/book_club&gt;
</code></pre>
