Back to Aurora Vision Library Lite website
You are here: Start » All Functions » Xml » Xml_SaveFile
Xml_SaveFile
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: | avl |
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
List of possible exceptions:
| Error type | Description |
|---|---|
| DomainError | Invalid XmlNode in Xml_SaveFile. |
| DomainError | Unable to parse XmlNode data in Xml_SaveFile. |
| IoError | Empty path in Xml_SaveFile |
| IoError | Unable to save an XmlNode to the file. File: File path |
See Also
- Xml_LoadFile – Loads an XML tree from the file.
- XmlNodeToString – Converts an XML tree to the string.
- StringToXmlNode – Parses text as an XML tree.

