Gnome XML Library Reference Manual
<<< Previous Page | Home | Up | Next Page >>>

# debugXML

## Name

debugXML --

## Synopsis

    void        xmlDebugDumpString              (FILE *output,
                                                 const xmlChar *str);
    void        xmlDebugDumpAttr                (FILE *output,
                                                 xmlAttrPtr attr,
                                                 int depth);
    void        xmlDebugDumpAttrList            (FILE *output,
                                                 xmlAttrPtr attr,
                                                 int depth);
    void        xmlDebugDumpOneNode             (FILE *output,
                                                 xmlNodePtr node,
                                                 int depth);
    void        xmlDebugDumpNode                (FILE *output,
                                                 xmlNodePtr node,
                                                 int depth);
    void        xmlDebugDumpNodeList            (FILE *output,
                                                 xmlNodePtr node,
                                                 int depth);
    void        xmlDebugDumpDocumentHead        (FILE *output,
                                                 xmlDocPtr doc);
    void        xmlDebugDumpDocument            (FILE *output,
                                                 xmlDocPtr doc);
    void        xmlDebugDumpDTD                 (FILE *output,
                                                 xmlDtdPtr doc);
    void        xmlDebugDumpEntities            (FILE *output,
                                                 xmlDocPtr doc);
    void        xmlLsOneNode                    (FILE *output,
                                                 xmlNodePtr node);
    char*       (*xmlShellReadlineFunc)         (char *prompt);
    struct      xmlShellCtxt;
    typedef     xmlShellCtxtPtr;
    int         (*xmlShellCmd)                  (xmlShellCtxtPtr ctxt,
                                                 char *arg,
                                                 xmlNodePtr node,
                                                 xmlNodePtr node2);
    void        xmlShell                        (xmlDocPtr doc,
                                                 char *filename,
                                                 xmlShellReadlineFunc input,
                                                 FILE *output);

## Description

## Details

### xmlDebugDumpString ()

    void        xmlDebugDumpString              (FILE *output,
                                                 const xmlChar *str);

`output` : |
`str` : |

### xmlDebugDumpAttr ()

    void        xmlDebugDumpAttr                (FILE *output,
                                                 xmlAttrPtr attr,
                                                 int depth);

`output` : |
`attr` : |
`depth` : |

### xmlDebugDumpAttrList ()

    void        xmlDebugDumpAttrList            (FILE *output,
                                                 xmlAttrPtr attr,
                                                 int depth);

`output` : |
`attr` : |
`depth` : |

### xmlDebugDumpOneNode ()

    void        xmlDebugDumpOneNode             (FILE *output,
                                                 xmlNodePtr node,
                                                 int depth);

`output` : |
`node` : |
`depth` : |

### xmlDebugDumpNode ()

    void        xmlDebugDumpNode                (FILE *output,
                                                 xmlNodePtr node,
                                                 int depth);

`output` : |
`node` : |
`depth` : |

### xmlDebugDumpNodeList ()

    void        xmlDebugDumpNodeList            (FILE *output,
                                                 xmlNodePtr node,
                                                 int depth);

`output` : |
`node` : |
`depth` : |

### xmlDebugDumpDocumentHead ()

    void        xmlDebugDumpDocumentHead        (FILE *output,
                                                 xmlDocPtr doc);

`output` : |
`doc` : |

### xmlDebugDumpDocument ()

    void        xmlDebugDumpDocument            (FILE *output,
                                                 xmlDocPtr doc);

`output` : |
`doc` : |

### xmlDebugDumpDTD ()

    void        xmlDebugDumpDTD                 (FILE *output,
                                                 xmlDtdPtr doc);

`output` : |
`doc` : |

### xmlDebugDumpEntities ()

    void        xmlDebugDumpEntities            (FILE *output,
                                                 xmlDocPtr doc);

`output` : |
`doc` : |

### xmlLsOneNode ()

    void        xmlLsOneNode                    (FILE *output,
                                                 xmlNodePtr node);

`output` : |
`node` : |

### xmlShellReadlineFunc ()

    char*       (*xmlShellReadlineFunc)         (char *prompt);

This is a generic signature for the XML shell input function

`prompt` : |
Returns : |

### struct xmlShellCtxt

    struct xmlShellCtxt {
        char *filename;
        xmlDocPtr doc;
        xmlNodePtr node;
        xmlXPathContextPtr pctxt;
        int loaded;
        FILE *output;
        xmlShellReadlineFunc input;
    };

A debugging shell context TODO: add the defined function tables.

### xmlShellCtxtPtr

### xmlShellCmd ()

    int         (*xmlShellCmd)                  (xmlShellCtxtPtr ctxt,
                                                 char *arg,
                                                 xmlNodePtr node,
                                                 xmlNodePtr node2);

This is a generic signature for the XML shell functions

`ctxt` : |
`arg` : |
`node` : |
`node2` : |
Returns : |

### xmlShell ()

    void        xmlShell                        (xmlDocPtr doc,
                                                 char *filename,
                                                 xmlShellReadlineFunc input,
                                                 FILE *output);

Implements the XML shell This allow to load, validate, view, modify and save a document using a environment similar to a UNIX commandline.

`doc` : |
`filename` : |
`input` : |
`output` : |

<<< Previous Page | Home | Up | Next Page >>>
encoding | xmlmemory