Back to Adaptive Vision Library website

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

Xml_LoadFile


This is Filter Equivalent. This function may be present in generated code, but should not be used in hand-written code.

Loads an XML tree from the file.

Syntax

void avl::Xml_LoadFile
(
	const atl::File& inFile,
	avl::XmlNode& outNode
)

Parameters

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

Description

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

Errors

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.

See Also