Back to FabImage Library website
You are here: Start » Function Reference » Xml » Xml_LoadFile
This is Filter Equivalent. This function may be present in generated code, but should not be used in hand-written code.
Header: | STD.h |
---|---|
Namespace: | fil |
Loads an XML tree from the file.
Syntax
void fil::Xml_LoadFile ( const ftl::File& inFile, fil::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
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. |
See Also
- Xml_SaveFile – Saves an XML DOM tree to the file.
- XmlNodeToString – Converts an XML tree to the string.
- StringToXmlNode – Parses text as an XML tree.