Holger,
Try
oNewNode = oXA.IXMLDOMElement.parentNode.createElement("NewNode")
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--