* xmlTextWriterWriteFormatElementNS: * @writer: the xmlTextWriterPtr * @prefix: namespace prefix * @name: element local name * @namespaceURI: namespace URI * @format: format string (see printf) * @...: extra parameters for the format * * Write a formatted xml element with namespace support. * * Returns the bytes written (may be 0 because of buffering) or -1 in case of error */
| 2257 | * Returns the bytes written (may be 0 because of buffering) or -1 in case of error |
| 2258 | */ |
| 2259 | int |
| 2260 | xmlTextWriterWriteFormatElementNS(xmlTextWriterPtr writer, |
| 2261 | const xmlChar * prefix, |
| 2262 | const xmlChar * name, |
| 2263 | const xmlChar * namespaceURI, |
| 2264 | const char *format, ...) |
| 2265 | { |
| 2266 | int rc; |
| 2267 | va_list ap; |
| 2268 | |
| 2269 | va_start(ap, format); |
| 2270 | |
| 2271 | rc = xmlTextWriterWriteVFormatElementNS(writer, prefix, name, |
| 2272 | namespaceURI, format, ap); |
| 2273 | |
| 2274 | va_end(ap); |
| 2275 | return rc; |
| 2276 | } |
| 2277 | |
| 2278 | /** |
| 2279 | * xmlTextWriterWriteVFormatElementNS: |
nothing calls this directly
no test coverage detected