Back to FabImage 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.
Header: | STD.h |
---|---|
Namespace: | fil |
Saves an XML DOM tree to the file.
Syntax
void fil::Xml_SaveFile ( const ftl::File& inFile, const fil::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.