* xmlDumpNotationDecl: * @buf: the XML buffer output * @nota: A notation declaration * * DEPRECATED: Don't use. * * This will dump the content the notation declaration as an XML DTD definition */
| 2215 | * This will dump the content the notation declaration as an XML DTD definition |
| 2216 | */ |
| 2217 | void |
| 2218 | xmlDumpNotationDecl(xmlBufferPtr buf, xmlNotationPtr nota) { |
| 2219 | xmlSaveCtxtPtr save; |
| 2220 | |
| 2221 | if ((buf == NULL) || (nota == NULL)) |
| 2222 | return; |
| 2223 | |
| 2224 | save = xmlSaveToBuffer(buf, NULL, 0); |
| 2225 | xmlSaveNotationDecl(save, nota); |
| 2226 | if (xmlSaveFinish(save) != XML_ERR_OK) |
| 2227 | xmlFree(xmlBufferDetach(buf)); |
| 2228 | } |
| 2229 | |
| 2230 | /** |
| 2231 | * xmlDumpNotationTable: |
nothing calls this directly
no test coverage detected