* htmlSaveFileEnc: * @filename: the filename * @cur: the document * @encoding: the document encoding * * Dump an HTML document to a file using a given encoding * and formatting returns/spaces are added. * * returns: the number of byte written or -1 in case of failure. */
| 1206 | * returns: the number of byte written or -1 in case of failure. |
| 1207 | */ |
| 1208 | int |
| 1209 | htmlSaveFileEnc(const char *filename, xmlDocPtr cur, const char *encoding) { |
| 1210 | return(htmlSaveFileFormat(filename, cur, encoding, 1)); |
| 1211 | } |
| 1212 | |
| 1213 | #endif /* LIBXML_OUTPUT_ENABLED */ |
| 1214 |