Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ Plant SCADA

XMLOpen

  • Last UpdatedJul 18, 2023
  • 1 minute read

Reads an XML file from disk to create XML document.

Syntax

INT XMLOpen(STRING sFilePath)

sFilePath

Absolute path of XML file

Return Value

Handle of the XML document, or -1 on error.

XMLClose, XMLCreate, XMLGetAttribute, XMLGetAttributeCount, XMLGetAttributeName, XMLGetAttributeValue, XMLGetChild, XMLGetChildCount, XMLGetParent, XMLGetRoot, XMLNodeAddChild, XMLNodeFind, XMLNodeGetName, XMLNodeGetValue, XMLNodeRemove, XMLNodeSetValue, XMLSave, XMLSetAttribute

Example

Following example reads disk file "H:\Data\books.xml" to create XML document.

INT hDoc, hNode;

hDoc=XMLOpen("H:\Data\books.xml");

See Also

XML Functions

In This Topic
Related Links
TitleResults for “How to create a CRG?”Also Available in