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

Function xmlSaveFile

ThirdParty/libxml2/vtklibxml2/xmlsave.c:2999–3002  ·  view source on GitHub ↗

* xmlSaveFile: * @filename: the filename (or URL) * @cur: the document * * Dump an XML document to a file. Will use compression if * compiled in and enabled. If @filename is "-" the stdout file is * used. * returns: the number of bytes written or -1 in case of failure. */

Source from the content-addressed store, hash-verified

2997 * returns: the number of bytes written or -1 in case of failure.
2998 */
2999int
3000xmlSaveFile(const char *filename, xmlDocPtr cur) {
3001 return(xmlSaveFormatFileEnc(filename, cur, NULL, 0));
3002}
3003
3004#endif /* LIBXML_OUTPUT_ENABLED */
3005

Callers 5

parseAndPrintFileFunction · 0.85
oldParseTestFunction · 0.85
noentParseTestFunction · 0.85
xmlShellWriteFunction · 0.85
xmlShellSaveFunction · 0.85

Calls 1

xmlSaveFormatFileEncFunction · 0.85

Tested by 2

oldParseTestFunction · 0.68
noentParseTestFunction · 0.68