* xmlDumpNotationTable: * @buf: the XML buffer output * @table: A notation table * * DEPRECATED: Don't use. * * This will dump the content of the notation table as an XML DTD definition */
| 2237 | * This will dump the content of the notation table as an XML DTD definition |
| 2238 | */ |
| 2239 | void |
| 2240 | xmlDumpNotationTable(xmlBufferPtr buf, xmlNotationTablePtr table) { |
| 2241 | xmlSaveCtxtPtr save; |
| 2242 | |
| 2243 | if ((buf == NULL) || (table == NULL)) |
| 2244 | return; |
| 2245 | |
| 2246 | save = xmlSaveToBuffer(buf, NULL, 0); |
| 2247 | xmlSaveNotationTable(save, table); |
| 2248 | if (xmlSaveFinish(save) != XML_ERR_OK) |
| 2249 | xmlFree(xmlBufferDetach(buf)); |
| 2250 | } |
| 2251 | #endif /* LIBXML_OUTPUT_ENABLED */ |
| 2252 | |
| 2253 | /************************************************************************ |
nothing calls this directly
no test coverage detected