Xiqual 0.9.1

In file xitools/xmlwrite.c:

size_t xml_savedoc

(struct xmldoc* doc, char* name)

Save an XML document to a file.


Save an XML document to a file. This saves the document to file, returning how many bytes were written, or -1 if there is an error.

If the filename is "*" (an asterisk), the document is written to stdout. Number of bytes written is returned as normal.

doc - XML document structure created with xml_newdoc()
- name Filename to create, or an asterisk for stdout return Number of bytes written to the stream
Ronny Bangsund
See Also:
xml_loaddoc(), xml_newdoc(), xmldoc

Alphabetic index

This page was generated with the help of DOC++.