* xmlDumpAttributeTable: * @buf: the XML buffer output * @table: An attribute table * * DEPRECATED: Don't use. * * This will dump the content of the attribute table as an XML DTD definition */
| 2007 | * This will dump the content of the attribute table as an XML DTD definition |
| 2008 | */ |
| 2009 | void |
| 2010 | xmlDumpAttributeTable(xmlBufferPtr buf, xmlAttributeTablePtr table) { |
| 2011 | xmlSaveCtxtPtr save; |
| 2012 | |
| 2013 | if ((buf == NULL) || (table == NULL)) |
| 2014 | return; |
| 2015 | |
| 2016 | save = xmlSaveToBuffer(buf, NULL, 0); |
| 2017 | xmlHashScan(table, xmlDumpAttributeDeclScan, save); |
| 2018 | if (xmlSaveFinish(save) != XML_ERR_OK) |
| 2019 | xmlFree(xmlBufferDetach(buf)); |
| 2020 | } |
| 2021 | #endif /* LIBXML_OUTPUT_ENABLED */ |
| 2022 | |
| 2023 | /************************************************************************ |
nothing calls this directly
no test coverage detected