login about faq

Greetings, i am trying to add a XML tree to an existing XML in multiple times.

i am using below code:

    objXML.LoadXmlFile("g:\My Documents\Apps.xml")
    objHXML.LoadXmlFile("g:\My Documents\Bulk Update.xml")
    For intALoop As Integer = 0 To (objXML.GetChildWithTag("PRO_Aps").NumChildren - 1)
        If objXML.GetChildWithTag("PRO_Aps").GetChild(intALoop).GetChildWithTag("Title").Content <> "Discontinued" Then
        End If
    objXML.SaveXml("g:\My Documents\Apps.xml")

but it is not working, it only add to the last item not all.

where is the issue with my code?

thanks in advance best regards

asked Oct 05 at 02:59

mAlam's gravatar image


Be the first one to answer this question!
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported



Asked: Oct 05 at 02:59

Seen: 91 times

Last updated: Oct 05 at 02:59

powered by OSQA