* xmlTextWriterWriteFormatElement: * @writer: the xmlTextWriterPtr * @name: element name * @format: format string (see printf) * @...: extra parameters for the format * * Write a formatted xml element. * * Returns the bytes written (may be 0 because of buffering) or -1 in case of error */
| 2160 | * Returns the bytes written (may be 0 because of buffering) or -1 in case of error |
| 2161 | */ |
| 2162 | int |
| 2163 | xmlTextWriterWriteFormatElement(xmlTextWriterPtr writer, |
| 2164 | const xmlChar * name, const char *format, |
| 2165 | ...) |
| 2166 | { |
| 2167 | int rc; |
| 2168 | va_list ap; |
| 2169 | |
| 2170 | va_start(ap, format); |
| 2171 | |
| 2172 | rc = xmlTextWriterWriteVFormatElement(writer, name, format, ap); |
| 2173 | |
| 2174 | va_end(ap); |
| 2175 | return rc; |
| 2176 | } |
| 2177 | |
| 2178 | /** |
| 2179 | * xmlTextWriterWriteVFormatElement: |
nothing calls this directly
no test coverage detected