|
-
Jun 27th, 2005, 12:30 PM
#1
Thread Starter
Junior Member
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:
Set noLiblRaprts = pobjNewNodeRacine.selectNodes("LiblRaprt")
For Each noLiblRaprt In noLiblRaprts
Call pobjNewNodeRacine.removeChild(noLiblRaprt)
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|