| Gnome XML Library Reference Manual | |||
|---|---|---|---|
| <<< Previous Page | Home | Up | Next Page >>> |
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 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); |
void xmlDebugDumpAttr (FILE *output,
xmlAttrPtr attr,
int depth); |
| output : | |
| attr : | |
| depth : |
void xmlDebugDumpAttrList (FILE *output,
xmlAttrPtr attr,
int depth); |
| output : | |
| attr : | |
| depth : |
void xmlDebugDumpOneNode (FILE *output,
xmlNodePtr node,
int depth); |
| output : | |
| node : | |
| depth : |
void xmlDebugDumpNode (FILE *output,
xmlNodePtr node,
int depth); |
| output : | |
| node : | |
| depth : |
void xmlDebugDumpNodeList (FILE *output,
xmlNodePtr node,
int depth); |
| output : | |
| node : | |
| depth : |
void xmlDebugDumpDocumentHead (FILE *output,
xmlDocPtr doc); |
| output : | |
| doc : |
struct xmlShellCtxt {
char *filename;
xmlDocPtr doc;
xmlNodePtr node;
xmlXPathContextPtr pctxt;
int loaded;
FILE *output;
xmlShellReadlineFunc input;
}; |
int (*xmlShellCmd) (xmlShellCtxtPtr ctxt, char *arg, xmlNodePtr node, xmlNodePtr node2); |
| ctxt : | |
| arg : | |
| node : | |
| node2 : | |
| Returns : |
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 : | the initial document |
| filename : | the output buffer |
| input : | the line reading function |
| output : | the output FILE* |