* xmlTextWriterWriteFormatDTD: * @writer: the xmlTextWriterPtr * @name: the name of the DTD * @pubid: the public identifier, which is an alternative to the system identifier * @sysid: the system identifier, which is the URI of the DTD * @format: format string (see printf) * @...: extra parameters for the format * * Write a DTD with a formatted markup declarations part. * * Returns
| 3038 | * Returns the bytes written (may be 0 because of buffering) or -1 in case of error |
| 3039 | */ |
| 3040 | int |
| 3041 | xmlTextWriterWriteFormatDTD(xmlTextWriterPtr writer, |
| 3042 | const xmlChar * name, |
| 3043 | const xmlChar * pubid, |
| 3044 | const xmlChar * sysid, const char *format, ...) |
| 3045 | { |
| 3046 | int rc; |
| 3047 | va_list ap; |
| 3048 | |
| 3049 | va_start(ap, format); |
| 3050 | |
| 3051 | rc = xmlTextWriterWriteVFormatDTD(writer, name, pubid, sysid, format, |
| 3052 | ap); |
| 3053 | |
| 3054 | va_end(ap); |
| 3055 | return rc; |
| 3056 | } |
| 3057 | |
| 3058 | /** |
| 3059 | * xmlTextWriterWriteVFormatDTD: |
nothing calls this directly
no test coverage detected