MCPcopy Create free account
hub / github.com/Kitware/VTK / xmlTextWriterWriteFormatElementNS

Function xmlTextWriterWriteFormatElementNS

ThirdParty/libxml2/vtklibxml2/xmlwriter.c:2259–2276  ·  view source on GitHub ↗

* 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 */

Source from the content-addressed store, hash-verified

2257 * Returns the bytes written (may be 0 because of buffering) or -1 in case of error
2258 */
2259int
2260xmlTextWriterWriteFormatElementNS(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:

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected