Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Adding nodes to XMLDocument via XMLAdapter
Message
 
 
À
26/05/2006 08:38:55
Information générale
Forum:
Visual FoxPro
Catégorie:
XML, XSD
Divers
Thread ID:
01125217
Message ID:
01125270
Vues:
18
Holger,

Try
oNewNode = oXA.IXMLDOMElement.parentNode.createElement("NewNode")

*or

oXmlDoc = CreateObject("Msxml2.DOMDocument.4.0")
oNewNode = xmlDoc.createElement("NewNode")
>
>I've got a XML String, which is loaded into a XMLAdapter.
>I'm reading and writing to the XMLDocument using the IXMLDOMElement reference of the XMLAdapater.
>Reading nodes and attributes as well as writing to them is quite easy (thanks xPath), but I'm having a problem inserting new nodes. The IXMLDOMElement provides a ".AppendChild()" method, but I have to pass a reference to an IXMLDOMNode object and I couldn't find a way to create one.
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform