VB.Net >> InnerXml "<Table><AREA_CODE>707</AREA_CODE><TIME_ZONE>P</TIME_ZONE></Table>"

by hazz » Tue, 19 Jul 2005 08:16:28 GMT

how do I parse this System.Xml.Xmlnode to get the value 'P' within the
element <TIME_ZONE> ?

Thank you, -hazz



VB.Net >> InnerXml "<Table><AREA_CODE>707</AREA_CODE><TIME_ZONE>P</TIME_ZONE></Table>"

by hazz » Wed, 20 Jul 2005 04:46:45 GMT


Dim xmlNode As XmlNode = webservicexxx(argument to pass in)

Dim doc As XmlDocument = New XmlDocument

doc.LoadXml(xmlNode.InnerXml)

Dim root As XmlNode = doc.FirstChild

array(iCounter).property = (root("TIME_ZONE").InnerXml)