Re: How to Read XML File

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Dim _xmlDocument As Xml.XmlDocument
_xmlDocument = New Xml.XmlDocument
_xmlDocument.Load("c:\test.xml")
TextBox1.Text = _xmlDocument.InnerXm

- P

<abhishek007p@xxxxxxxxxxx> wrote in message
news:1121383978.326333.104770@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
> hi,
>
> i am new to xml via vb.net, can someone tell how to get the required
> data from a xml file & show it in textboxs.
>
>
> thanks,
> AB
>


.



Relevant Pages

  • Re: Using XPath Against A Node
    ... made to the XML DOM passed into the DoSomeXmlProcessing, ... Dim WholeXmlDocument As New XmlDocument ... If Not VehicleNode Is Nothing Then ...
    (microsoft.public.dotnet.languages.vb)
  • Re: Xml error: Namespace Manager or Xslt context needed
    ... "XML newbie: Urgent pls help!" ... ' Instantiate an XmlDocument object to avoid NullReference ... Dim xmlDoc As XmlDocument ... Dim strm As Stream = HttpWResponse.GetResponseStream ...
    (microsoft.public.dotnet.xml)
  • Re: Xml error: Namespace Manager or Xslt context needed
    ... Thanks for yur response. ... Private Function SendXmlRequest(ByRef xml As String) ... ' Instantiate an XmlDocument object to avoid NullReference ... Dim xmlDoc As XmlDocument ...
    (microsoft.public.dotnet.xml)
  • RE: using myXslDoc.Transform
    ... One potential option for dynamically loading an XmlDocument from the ... retrieved as a string. ... Retrieve the XML content from the database ... Dim strXml As String ...
    (microsoft.public.dotnet.xml)
  • Re: Xml error: Namespace Manager or Xslt context needed
    ... Can't parse login information. ... Private Function SendXmlRequest(ByRef xml As String) ... ' Instantiate an XmlDocument object to avoid NullReference ... Dim xmlDoc As XmlDocument ...
    (microsoft.public.dotnet.xml)