Back to Adaptive Vision Studio website

You are here: Start » Filter Reference » Xml » Xml_LoadFile


Loads an XML tree from the file.

Name Type Description
inFile File Path to an XML file.
outNode XmlNode Result XML DOM object.


This filter loads an XML tree from a file. When fails, detailed error message will be presented in the exception body.


Read more about how to handle XML in Working with XML Trees article.


This filter can throw an exception to report error. Read how to deal with errors in Error Handling.

List of possible exceptions:

Error type Description
IoError Empty path in Xml_LoadFile
IoError Unable to load XML file. File: File path
IoError Unable to load XML file. File: File path. Error description.

Complexity Level

This filter is available on Basic Complexity Level.

See Also