XmlCopyFile

From Multi Theft Auto: Wiki
Revision as of 20:00, 19 October 2007 by Jbeta (talk | contribs) (New page: __NOTOC__ {{Server client function}} This function copies all contents of a certain node in a XML document to a new document file, so the copied node becomes the new file's root node. ==...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This function copies all contents of a certain node in a XML document to a new document file, so the copied node becomes the new file's root node.

Syntax

xmlnode xmlCopyFile ( xmlnode nodeToCopy, string newFilename )

Required Arguments

  • nodeToCopy: the xmlnode that is to be copied to a new document.
  • newFilename: the filename for the new XML document.

Returns

Returns a xmlnode if the node was successfully copied, false if invalid arguments were passed.

Example

See Also