How do point to the inner elements in a xn XML document ?

EDN Admin

Well-known member
Joined
Aug 7, 2010
Messages
12,794
Location
In the Machine
Hi;
How do I move to the <DATE> inner elements in my XML ?
<pre class="prettyprint <APPRAISER>
<EMAIL>test@testing.com</EMAIL>
<SIGNED>
<DATE>05/27/2011</DATE>
</SIGNED>[/code]
Here is my code, so how would I move the element /appraiser/signed/date ?<br/>


<pre class="prettyprint incomingxml_doc.LoadXml(holdXmlData);

XmlNodeList elem_DocId = incomingxml_doc.GetElementsByTagName("Appraiser");
if (elem_DocId != null && elem_DocId[0] != null)
{
String DocId = elem_DocId[0].InnerText;
}[/code]
Thanks for your help<br/><hr class="sig GeeMann

View the full article
 
Back
Top