Force _xmlSaveCtxt.format to be 0 or 1 * xmlsave.c: force _xmlSaveCtxt.format to be 0 or 1 and check accordingly, this will allow other values of "format" to be used for other purposes.