Copy (XmlDoc function): Difference between revisions

From m204wiki
Jump to navigation Jump to search
m (1 revision)
m (1 revision)
Line 1: Line 1:
{{Template:XmlDoc:Copy subtitle}}
{{Template:XmlDoc:Copy subtitle}}
[[Category:XmlDoc methods|Copy function]]
[[Category:XmlDoc API methods]]


This method returns an exact copy of the method <var>xmlDoc</var> object.
This method returns an exact copy of the method <var>xmlDoc</var> object.

Revision as of 17:14, 25 January 2011

Copy this XmlDoc (XmlDoc class)


This method 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 copyable and deep copyable.

Syntax

%outDoc = doc:Copy

Syntax terms

%object An xmlDoc object variable to contain the copy of doc.
doc An xmlDoc object expression.

Usage notes

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

See also