MCPcopy Create free account
hub / github.com/Kitware/VTK / xmlDumpAttributeTable

Function xmlDumpAttributeTable

ThirdParty/libxml2/vtklibxml2/valid.c:2009–2020  ·  view source on GitHub ↗

* 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 */

Source from the content-addressed store, hash-verified

2007 * This will dump the content of the attribute table as an XML DTD definition
2008 */
2009void
2010xmlDumpAttributeTable(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/************************************************************************

Callers

nothing calls this directly

Calls 4

xmlSaveToBufferFunction · 0.85
xmlHashScanFunction · 0.85
xmlSaveFinishFunction · 0.85
xmlBufferDetachFunction · 0.85

Tested by

no test coverage detected