Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
XML, can add a child node but can't delete one.
Message
From
29/03/2001 18:04:08
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Internet applications
Title:
XML, can add a child node but can't delete one.
Miscellaneous
Thread ID:
00490116
Message ID:
00490116
Views:
33
Using Microsoft XMLDOM for IE 5.0.
loxml = CreateObject([MicroSoft.XMLDOM])

Okay, so appendchild() works like a dream. I can add new child nodes no problem but I just can't figure out RemoveChild().

I load the XML document and attempt to delete the first child node but it gives an error message about type mismatch. I then do a selectnodes and get the node and its children nodes that I want to remove. I try loxml.item(0).removechild() and quite a few other combinations but I get errors each time.

Ideas and/or help?
Fred Lauckner

You know, it works on my computer. I don't know what your problem is.

.Net aint so bad.
Next
Reply
Map
View

Click here to load this message in the networking platform