Consultor Eletrônico



Kbase P96821: How to import a node from an XML document to another XML document?
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   27/10/2004
Status: Unverified

GOAL:

How to import a node from an XML document to another XML document?

FIX:

Use the IMPORT-NODE( ) Method:
hDoc:GET-DOCUMENT-ELEMENT(hRoot).
hDocCopy:IMPORT-NODE(hRootCopy,hRoot,true).
hDocCopy:APPEND-CHILD(hRootCopy).