* xmlTextWriterWriteFormatAttribute: * @writer: the xmlTextWriterPtr * @name: attribute name * @format: format string (see printf) * @...: extra parameters for the format * * Write a formatted xml attribute. * * Returns the bytes written (may be 0 because of buffering) or -1 in case of error */
| 1957 | * Returns the bytes written (may be 0 because of buffering) or -1 in case of error |
| 1958 | */ |
| 1959 | int |
| 1960 | xmlTextWriterWriteFormatAttribute(xmlTextWriterPtr writer, |
| 1961 | const xmlChar * name, const char *format, |
| 1962 | ...) |
| 1963 | { |
| 1964 | int rc; |
| 1965 | va_list ap; |
| 1966 | |
| 1967 | va_start(ap, format); |
| 1968 | |
| 1969 | rc = xmlTextWriterWriteVFormatAttribute(writer, name, format, ap); |
| 1970 | |
| 1971 | va_end(ap); |
| 1972 | return rc; |
| 1973 | } |
| 1974 | |
| 1975 | /** |
| 1976 | * xmlTextWriterWriteVFormatAttribute: |
nothing calls this directly
no test coverage detected