Copy (XmlDoc function)

From m204wiki
Jump to navigation Jump to search

Copy this XmlDoc (XmlDoc class)

Copy returns an exact copy of the method xmlDoc object. It is identical to the xmlDoc DeepCopy method.

Since XmlDoc objects are relatively simple, that is, they contain no other objects, they are always both "copyable and deep copyable".

Syntax

%outDoc = doc:Copy

Syntax terms

%outDoc An xmlDoc object variable to contain the copy of doc.
doc An xmlDoc object expression, which may be Null.

Usage notes

  • The method object (doc) may be Null. The output of a copy of a Null object is a Null object.

See also