Back to Adaptive Vision Library website
You are here: Start » Function Reference » Xml » Xml_SaveFile
This is Filter Equivalent. This function may be present in generated code, but should not be used in hand-written code.
Saves an XML DOM tree to the file.
Syntax
void avl::Xml_SaveFile ( const atl::File& inFile, const avl::XmlNode& inNode )
Parameters
Name | Type | Default | Description | |
---|---|---|---|---|
inFile | const File& | Path to the destination file. | ||
inNode | const XmlNode& | XML tree to save. |
Description
This filter saves an XML tree to a file.
Errors
Error type | Description |
---|---|
IoError | Empty path in Xml_SaveFile |
DomainError | Invalid XmlNode in XML_SaveFile. |
DomainError | Unable to parse XmlNode data in XML_SaveFile. |
IoError | Unable to save an XmlNode to the file. File: File path |
See Also
- StringToXmlNode – Parses text as an XML tree.
- Xml_LoadFile – Loads an XML tree from the file.
- XmlNodeToString – Converts an XML tree to the string.