Welcome to the Harris Geospatial product documentation center. Here you will find reference guides, help documents, and product libraries.


  >  Docs Center  >  IDL Reference  >  I/O - Other Data Formats  >  IDLffXMLDOMNode::CloneNode

IDLffXMLDOMNode::CloneNode

IDLffXMLDOMNode::CloneNode

Syntax | Return Value | Arguments | Keywords | Version History

The IDLffXMLDOMNode::CloneNode function method creates a copy of the calling node (i.e., an instance of an IDLffXMLDOMNode subclass) and returns the object reference to the cloned node. The class of the cloned node is the same as the class of the calling node. The cloned node has no parent.

Cloning an element node copies all attributes and their values and does not copy child nodes unless the DEEP keyword is set. Cloning any other type of node simply copies the node.

Syntax


Result = Obj->[IDLffXMLDOMNode::]CloneNode( [, /DEEP] )

Return Value


Returns an object reference to the cloned node.

Arguments


None

Keywords


DEEP

Set this keyword to cause all of a node’s children to be cloned along with the calling node. By default, only the calling node is cloned.

Version History


6.1

Introduced



© 2018 Harris Geospatial Solutions, Inc. |  Legal
My Account    |    Store    |    Contact Us