I Would like to copy a complete node from one XML document to a newly created xml document within navision.
i tried different procedures, but cant get it managed.
what i did is:
finding the node i want to copy
Findnode(currnode, 'Description', cgau_CurrNodeRet);
giving it to a function:
cf_createblob(inboundsalesdocumentline,cgau_currnoderet);
and then try to put it into a new xml doc.
what does the coding needs to look like?
help is appreciated.
0
Comments
http://www.w3schools.com/dom/dom_nodes_clone.asp
Although I didn't try it it looks pretty ok.
Hope this helps
Thomas