OpenXml Data Member Function

Opens an XML file from disk.

Prototype

IXmlNode OpenXml( string p_sAbsPathToFile, int32 p_bOpenForReading, List p_oErrorDetails )

Parameters

Parameter Type Parameter Name Documentation
stringp_sAbsPathToFileAbsolute path of the XML file to open.
int32p_bOpenForReadingControls whether the file is in read mode or write mode. Pass 'true' for read mode, or 'false' for write mode. Creates the file when you open for writing a file that does not exist.
<List>p_oErrorDetailsA pointer to a <List> object that will be populated with XmlError objects if errors are found.

Examples

Copy Text To Clipboard

None published. Please look for an example in the Scenome Scripting Language code base.