Zoomed Image

AMSX Scripting Language - Command : SaveXMLFile

Summary

Save the current XML document to a file on the server

Description

Saves the XML document in mdoc to a file. If the path contains "/" it is treated as relative to the database web root. If it contains "\" it is used as an absolute path. Otherwise the file is saved under the script's XML subfolder. File access is checked against permitted folders.

Parameters

ParameterDescription
cmdFile path (relative with "/" for web root, absolute with "\", or just a filename for the XML subfolder)

Syntax


SaveXMLFile "File path (relative with "/" for web root, absolute with "\", or just a filename for the XML subfolder)"

Return to the AMSX Command Reference