Results 1 to 2 of 2

Thread: Remove a XML Node list

Threaded View

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Apr 2003
    Posts
    21

    Remove a XML Node list

    Hi All, I have a XML file in wich i have a node list of about 1000 node. I want to remove this list. For now i'm cycling through all the node one by one and i call the removechild property like this:

    VB Code:
    1. Set noLiblRaprts = pobjNewNodeRacine.selectNodes("LiblRaprt")
    2.     For Each noLiblRaprt In noLiblRaprts
    3.         Call pobjNewNodeRacine.removeChild(noLiblRaprt)
    4.     Next

    The problem is that it's slow. There is 1000 node and about 100,000 XML file to process! Is there any other way to remove a node list in one command??? I can't change the way the XML file are built...

    Thanks for your help!
    Last edited by bthibault76; Jun 27th, 2005 at 12:35 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width