* xmlDumpElementTable: * @buf: the XML buffer output * @table: An element table * * DEPRECATED: Don't use. * * This will dump the content of the element table as an XML DTD definition */
| 1459 | * This will dump the content of the element table as an XML DTD definition |
| 1460 | */ |
| 1461 | void |
| 1462 | xmlDumpElementTable(xmlBufferPtr buf, xmlElementTablePtr table) { |
| 1463 | xmlSaveCtxtPtr save; |
| 1464 | |
| 1465 | if ((buf == NULL) || (table == NULL)) |
| 1466 | return; |
| 1467 | |
| 1468 | save = xmlSaveToBuffer(buf, NULL, 0); |
| 1469 | xmlHashScan(table, xmlDumpElementDeclScan, save); |
| 1470 | if (xmlSaveFinish(save) != XML_ERR_OK) |
| 1471 | xmlFree(xmlBufferDetach(buf)); |
| 1472 | } |
| 1473 | #endif /* LIBXML_OUTPUT_ENABLED */ |
| 1474 | |
| 1475 | /** |
nothing calls this directly
no test coverage detected