Parameter syntax:
[file_name|URL]?
Creates a new document by copying an existing document.
Without a parameter, this command displays the file chooser dialog box to let the user specify an existing document.
Parameters:
file_name or URLSpecifies which document to copy.
Returns newly created com.xmlmind.xmledit.doc.Document (for use by higher-level commands) or Command.EXECUTION_FAILED if specified document cannot be opened or if user has canceled the command.