xml_save_file


Description:


public int xml_save_file (string filename, Doc doc)

Writes the given XML document structure to the file given by filename.

If an error occurs while saving, the function returns -1 and sets errno.

Parameters:

filename

path to a file to save to

doc

an XML document structure

Returns:

0 on success, -1 on failure


Namespace: E