MCPcopy Create free account
hub / github.com/Kitware/VTK / xmlSaveFormatFile

Function xmlSaveFormatFile

ThirdParty/libxml2/vtklibxml2/xmlsave.c:2984–2987  ·  view source on GitHub ↗

* xmlSaveFormatFile: * @filename: the filename (or URL) * @cur: the document * @format: should formatting spaces been added * * Dump an XML document to a file. Will use compression if * compiled in and enabled. If @filename is "-" the stdout file is * used. If @format is set then the document will be indented on output. * Note that @format = 1 provide node indenting only if xmlIndentTre

Source from the content-addressed store, hash-verified

2982 * returns: the number of bytes written or -1 in case of failure.
2983 */
2984int
2985xmlSaveFormatFile(const char *filename, xmlDocPtr cur, int format) {
2986 return ( xmlSaveFormatFileEnc( filename, cur, NULL, format ) );
2987}
2988
2989/**
2990 * xmlSaveFile:

Callers

nothing calls this directly

Calls 1

xmlSaveFormatFileEncFunction · 0.85

Tested by

no test coverage detected