Copy (XmlDoc function): Difference between revisions

From m204wiki
Jump to navigation Jump to search
m (edits, tags and links)
mNo edit summary
 
Line 2: Line 2:
<var>Copy</var> returns an exact copy of the method <var>xmlDoc</var> object.  It is identical to the <var>xmlDoc</var> <var>[[DeepCopy (XmlDoc function)|DeepCopy]]</var> method.
<var>Copy</var> returns an exact copy of the method <var>xmlDoc</var> object.  It is identical to the <var>xmlDoc</var> <var>[[DeepCopy (XmlDoc function)|DeepCopy]]</var> method.


Since <var>xmlDoc</var> objects are relatively simple, that is, they contain no other objects, they are always both [[Copying objects|"copyable and deep copyable"]].
Since <var>XmlDoc</var> objects are relatively simple, that is, they contain no other objects, they are always both [[Copying objects|"copyable and deep copyable"]].


==Syntax==
==Syntax==

Latest revision as of 21:09, 31 May 2011

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