Documentation

Read XML Object from File - Open Dev Kit Documentation

Open Dev Kit Documentation :: General :: Filesystem :: Read XML Object from File

Root.Filesystem.FileReadXMLObject(
  Path String,
  Type API Node*,
  Flags Streaming Flags
) Abstract*
Returns the entire contents of a file as a string

Parameters

Path String
Location of the XML file being read
Type API Node*
Base type that will be created and returned with the serialized data
Flags Streaming Flags
Streaming options that should match the parameter in the equivalent write function

Return Value

Abstract*

Lua Usage

local abstract = filesystem:FileReadXMLObject(path, type, flags)

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