Documentation

Write XML Object to File - Open Dev Kit Documentation

Open Dev Kit Documentation :: General :: Filesystem :: Write XML Object to File

Root.Filesystem.FileWriteXMLObject(
  Path String,
  Object Abstract*,
  Flags Streaming Flags
) Boolean
Creates or overwrites a file with the contents of a object serialized into an object

Parameters

Path String
Location of the XML file being written
Object Abstract*
Object to store in the file
Flags Streaming Flags
Streaming options that should match the parameter in the equivalent read function

Return Value

Boolean

Lua Usage

local boolean = filesystem:FileWriteXMLObject(path, object, flags)

If you think anything is missing, please feel free to: submit documentation feedback on this page