libxml2
Loading...
Searching...
No Matches
Functions
debugXML.h File Reference

Tree debugging APIs. More...

Functions

void xmlDebugDumpString (FILE *output, const xmlChar *str)
 Dumps information about the string, shorten it if necessary.
 
void xmlDebugDumpAttr (FILE *output, xmlAttr *attr, int depth)
 Dumps debug information for the attribute.
 
void xmlDebugDumpAttrList (FILE *output, xmlAttr *attr, int depth)
 Dumps debug information for the attribute list.
 
void xmlDebugDumpOneNode (FILE *output, xmlNode *node, int depth)
 Dumps debug information for the element node, it is not recursive.
 
void xmlDebugDumpNode (FILE *output, xmlNode *node, int depth)
 Dumps debug information for the element node, it is recursive.
 
void xmlDebugDumpNodeList (FILE *output, xmlNode *node, int depth)
 Dumps debug information for the list of element node, it is recursive.
 
void xmlDebugDumpDocumentHead (FILE *output, xmlDoc *doc)
 Dumps debug information concerning the document, not recursive.
 
void xmlDebugDumpDocument (FILE *output, xmlDoc *doc)
 Dumps debug information for the document, it's recursive.
 
void xmlDebugDumpDTD (FILE *output, xmlDtd *dtd)
 Dumps debug information for the DTD.
 
void xmlDebugDumpEntities (FILE *output, xmlDoc *doc)
 Dumps debug information for all the entities in use by the document.
 
int xmlDebugCheckDocument (FILE *output, xmlDoc *doc)
 Check the document for potential content problems, and output the errors to output
 

Detailed Description

Tree debugging APIs.

Interfaces to a set of routines used for debugging the tree produced by the XML parser.

Author
Daniel Veillard

Function Documentation

◆ xmlDebugCheckDocument()

int xmlDebugCheckDocument ( FILE *  output,
xmlDoc doc 
)

Check the document for potential content problems, and output the errors to output

Parameters
outputthe FILE * for the output
docthe document
Returns
the number of errors found

◆ xmlDebugDumpAttr()

void xmlDebugDumpAttr ( FILE *  output,
xmlAttr attr,
int  depth 
)

Dumps debug information for the attribute.

Parameters
outputthe FILE * for the output
attrthe attribute
depththe indentation level.

◆ xmlDebugDumpAttrList()

void xmlDebugDumpAttrList ( FILE *  output,
xmlAttr attr,
int  depth 
)

Dumps debug information for the attribute list.

Parameters
outputthe FILE * for the output
attrthe attribute list
depththe indentation level.

◆ xmlDebugDumpDocument()

void xmlDebugDumpDocument ( FILE *  output,
xmlDoc doc 
)

Dumps debug information for the document, it's recursive.

Parameters
outputthe FILE * for the output
docthe document

◆ xmlDebugDumpDocumentHead()

void xmlDebugDumpDocumentHead ( FILE *  output,
xmlDoc doc 
)

Dumps debug information concerning the document, not recursive.

Parameters
outputthe FILE * for the output
docthe document

◆ xmlDebugDumpDTD()

void xmlDebugDumpDTD ( FILE *  output,
xmlDtd dtd 
)

Dumps debug information for the DTD.

Parameters
outputthe FILE * for the output
dtdthe DTD

◆ xmlDebugDumpEntities()

void xmlDebugDumpEntities ( FILE *  output,
xmlDoc doc 
)

Dumps debug information for all the entities in use by the document.

Parameters
outputthe FILE * for the output
docthe document

◆ xmlDebugDumpNode()

void xmlDebugDumpNode ( FILE *  output,
xmlNode node,
int  depth 
)

Dumps debug information for the element node, it is recursive.

Parameters
outputthe FILE * for the output
nodethe node
depththe indentation level.

◆ xmlDebugDumpNodeList()

void xmlDebugDumpNodeList ( FILE *  output,
xmlNode node,
int  depth 
)

Dumps debug information for the list of element node, it is recursive.

Parameters
outputthe FILE * for the output
nodethe node list
depththe indentation level.

◆ xmlDebugDumpOneNode()

void xmlDebugDumpOneNode ( FILE *  output,
xmlNode node,
int  depth 
)

Dumps debug information for the element node, it is not recursive.

Parameters
outputthe FILE * for the output
nodethe node
depththe indentation level.

◆ xmlDebugDumpString()

void xmlDebugDumpString ( FILE *  output,
const xmlChar str 
)

Dumps information about the string, shorten it if necessary.

Parameters
outputthe FILE * for the output
strthe string