Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Adding child elements to another element (XML) using VB.NET

Status
Not open for further replies.

mavalon

Programmer
Apr 18, 2003
125
US
I am trying to navigate an XML document to find a CERTAIN element to which I will add a sub-element. How can I achieve this?

My xml document is laid out like this:

<neighborhood name=&quot;paradise&quot;>
<street name=&quot;apple ave&quot;>
<address id=&quot;001&quot;>
<husband>Adam</husband>
<wife>Eve</wife>
</address>
</street>
</neighborhood>

How can I add another address to &quot;apple ave&quot;?

I previously had another similar post where I needed to update the attributes (thread855-760240) now i'm having trouble figuring out how to add sub-elements.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top