blob: 2922c8cbfe05c7176bbb51af33202f8b9d7826fa [file] [log] [blame]
<HTML
><HEAD
><TITLE
>debugXML</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
"><LINK
REL="HOME"
TITLE="Gnome XML Library Reference Manual"
HREF="book1.html"><LINK
REL="UP"
TITLE="Libxml Library Reference"
HREF="libxml-lib.html"><LINK
REL="PREVIOUS"
TITLE="hash"
HREF="libxml-hash.html"><LINK
REL="NEXT"
TITLE="xmlmemory"
HREF="libxml-xmlmemory.html"></HEAD
><BODY
CLASS="REFENTRY"
BGCOLOR="#FFFFFF"
TEXT="#000000"
LINK="#0000FF"
VLINK="#840084"
ALINK="#0000FF"
><DIV
CLASS="NAVHEADER"
><TABLE
WIDTH="100%"
BORDER="0"
BGCOLOR="#000000"
CELLPADDING="1"
CELLSPACING="0"
><TR
><TH
COLSPAN="4"
ALIGN="center"
><FONT
COLOR="#FFFFFF"
SIZE="5"
>Gnome XML Library Reference Manual</FONT
></TH
></TR
><TR
><TD
WIDTH="25%"
BGCOLOR="#C00000"
ALIGN="left"
><A
HREF="libxml-hash.html"
><FONT
COLOR="#FFFFFF"
SIZE="3"
><B
>&#60;&#60;&#60; Previous Page</B
></FONT
></A
></TD
><TD
WIDTH="25%"
BGCOLOR="#0000C0"
ALIGN="center"
><FONT
COLOR="#FFFFFF"
SIZE="3"
><B
><A
HREF="book1.html"
><FONT
COLOR="#FFFFFF"
SIZE="3"
><B
>Home</B
></FONT
></A
></B
></FONT
></TD
><TD
WIDTH="25%"
BGCOLOR="#00C000"
ALIGN="center"
><FONT
COLOR="#FFFFFF"
SIZE="3"
><B
><A
HREF="libxml-lib.html"
><FONT
COLOR="#FFFFFF"
SIZE="3"
><B
>Up</B
></FONT
></A
></B
></FONT
></TD
><TD
WIDTH="25%"
BGCOLOR="#C00000"
ALIGN="right"
><A
HREF="libxml-xmlmemory.html"
><FONT
COLOR="#FFFFFF"
SIZE="3"
><B
>Next Page &#62;&#62;&#62;</B
></FONT
></A
></TD
></TR
></TABLE
></DIV
><H1
><A
NAME="LIBXML-DEBUGXML"
></A
>debugXML</H1
><DIV
CLASS="REFNAMEDIV"
><A
NAME="AEN28282"
></A
><H2
>Name</H2
>debugXML&nbsp;--&nbsp;</DIV
><DIV
CLASS="REFSYNOPSISDIV"
><A
NAME="AEN28285"
></A
><H2
>Synopsis</H2
><TABLE
BORDER="0"
BGCOLOR="#D6E8FF"
WIDTH="100%"
CELLPADDING="6"
><TR
><TD
><PRE
CLASS="SYNOPSIS"
>&#13;
void <A
HREF="libxml-debugxml.html#XMLDEBUGDUMPSTRING"
>xmlDebugDumpString</A
> (<GTKDOCLINK
HREF="FILE-CAPS"
>FILE</GTKDOCLINK
> *output,
const <A
HREF="libxml-tree.html#XMLCHAR"
>xmlChar</A
> *str);
void <A
HREF="libxml-debugxml.html#XMLDEBUGDUMPATTR"
>xmlDebugDumpAttr</A
> (<GTKDOCLINK
HREF="FILE-CAPS"
>FILE</GTKDOCLINK
> *output,
<A
HREF="libxml-tree.html#XMLATTRPTR"
>xmlAttrPtr</A
> attr,
int depth);
void <A
HREF="libxml-debugxml.html#XMLDEBUGDUMPATTRLIST"
>xmlDebugDumpAttrList</A
> (<GTKDOCLINK
HREF="FILE-CAPS"
>FILE</GTKDOCLINK
> *output,
<A
HREF="libxml-tree.html#XMLATTRPTR"
>xmlAttrPtr</A
> attr,
int depth);
void <A
HREF="libxml-debugxml.html#XMLDEBUGDUMPONENODE"
>xmlDebugDumpOneNode</A
> (<GTKDOCLINK
HREF="FILE-CAPS"
>FILE</GTKDOCLINK
> *output,
<A
HREF="libxml-tree.html#XMLNODEPTR"
>xmlNodePtr</A
> node,
int depth);
void <A
HREF="libxml-debugxml.html#XMLDEBUGDUMPNODE"
>xmlDebugDumpNode</A
> (<GTKDOCLINK
HREF="FILE-CAPS"
>FILE</GTKDOCLINK
> *output,
<A
HREF="libxml-tree.html#XMLNODEPTR"
>xmlNodePtr</A
> node,
int depth);
void <A
HREF="libxml-debugxml.html#XMLDEBUGDUMPNODELIST"
>xmlDebugDumpNodeList</A
> (<GTKDOCLINK
HREF="FILE-CAPS"
>FILE</GTKDOCLINK
> *output,
<A
HREF="libxml-tree.html#XMLNODEPTR"
>xmlNodePtr</A
> node,
int depth);
void <A
HREF="libxml-debugxml.html#XMLDEBUGDUMPDOCUMENTHEAD"
>xmlDebugDumpDocumentHead</A
> (<GTKDOCLINK
HREF="FILE-CAPS"
>FILE</GTKDOCLINK
> *output,
<A
HREF="libxml-tree.html#XMLDOCPTR"
>xmlDocPtr</A
> doc);
void <A
HREF="libxml-debugxml.html#XMLDEBUGDUMPDOCUMENT"
>xmlDebugDumpDocument</A
> (<GTKDOCLINK
HREF="FILE-CAPS"
>FILE</GTKDOCLINK
> *output,
<A
HREF="libxml-tree.html#XMLDOCPTR"
>xmlDocPtr</A
> doc);
void <A
HREF="libxml-debugxml.html#XMLDEBUGDUMPDTD"
>xmlDebugDumpDTD</A
> (<GTKDOCLINK
HREF="FILE-CAPS"
>FILE</GTKDOCLINK
> *output,
<A
HREF="libxml-tree.html#XMLDTDPTR"
>xmlDtdPtr</A
> dtd);
void <A
HREF="libxml-debugxml.html#XMLDEBUGDUMPENTITIES"
>xmlDebugDumpEntities</A
> (<GTKDOCLINK
HREF="FILE-CAPS"
>FILE</GTKDOCLINK
> *output,
<A
HREF="libxml-tree.html#XMLDOCPTR"
>xmlDocPtr</A
> doc);
void <A
HREF="libxml-debugxml.html#XMLLSONENODE"
>xmlLsOneNode</A
> (<GTKDOCLINK
HREF="FILE-CAPS"
>FILE</GTKDOCLINK
> *output,
<A
HREF="libxml-tree.html#XMLNODEPTR"
>xmlNodePtr</A
> node);
int <A
HREF="libxml-debugxml.html#XMLLSCOUNTNODE"
>xmlLsCountNode</A
> (<A
HREF="libxml-tree.html#XMLNODEPTR"
>xmlNodePtr</A
> node);
char* (<A
HREF="libxml-debugxml.html#XMLSHELLREADLINEFUNC"
>*xmlShellReadlineFunc</A
>) (char *prompt);
struct <A
HREF="libxml-debugxml.html#XMLSHELLCTXT"
>xmlShellCtxt</A
>;
typedef <A
HREF="libxml-debugxml.html#XMLSHELLCTXTPTR"
>xmlShellCtxtPtr</A
>;
int (<A
HREF="libxml-debugxml.html#XMLSHELLCMD"
>*xmlShellCmd</A
>) (<A
HREF="libxml-debugxml.html#XMLSHELLCTXTPTR"
>xmlShellCtxtPtr</A
> ctxt,
char *arg,
<A
HREF="libxml-tree.html#XMLNODEPTR"
>xmlNodePtr</A
> node,
<A
HREF="libxml-tree.html#XMLNODEPTR"
>xmlNodePtr</A
> node2);
void <A
HREF="libxml-debugxml.html#XMLSHELLPRINTXPATHERROR"
>xmlShellPrintXPathError</A
> (int errorType,
const char *arg);
void <A
HREF="libxml-debugxml.html#XMLSHELLPRINTNODE"
>xmlShellPrintNode</A
> (<A
HREF="libxml-tree.html#XMLNODEPTR"
>xmlNodePtr</A
> node);
void <A
HREF="libxml-debugxml.html#XMLSHELLPRINTXPATHRESULT"
>xmlShellPrintXPathResult</A
> (<A
HREF="libxml-xpath.html#XMLXPATHOBJECTPTR"
>xmlXPathObjectPtr</A
> list);
int <A
HREF="libxml-debugxml.html#XMLSHELLLIST"
>xmlShellList</A
> (<A
HREF="libxml-debugxml.html#XMLSHELLCTXTPTR"
>xmlShellCtxtPtr</A
> ctxt,
char *arg,
<A
HREF="libxml-tree.html#XMLNODEPTR"
>xmlNodePtr</A
> node,
<A
HREF="libxml-tree.html#XMLNODEPTR"
>xmlNodePtr</A
> node2);
int <A
HREF="libxml-debugxml.html#XMLSHELLBASE"
>xmlShellBase</A
> (<A
HREF="libxml-debugxml.html#XMLSHELLCTXTPTR"
>xmlShellCtxtPtr</A
> ctxt,
char *arg,
<A
HREF="libxml-tree.html#XMLNODEPTR"
>xmlNodePtr</A
> node,
<A
HREF="libxml-tree.html#XMLNODEPTR"
>xmlNodePtr</A
> node2);
int <A
HREF="libxml-debugxml.html#XMLSHELLDIR"
>xmlShellDir</A
> (<A
HREF="libxml-debugxml.html#XMLSHELLCTXTPTR"
>xmlShellCtxtPtr</A
> ctxt,
char *arg,
<A
HREF="libxml-tree.html#XMLNODEPTR"
>xmlNodePtr</A
> node,
<A
HREF="libxml-tree.html#XMLNODEPTR"
>xmlNodePtr</A
> node2);
int <A
HREF="libxml-debugxml.html#XMLSHELLCAT"
>xmlShellCat</A
> (<A
HREF="libxml-debugxml.html#XMLSHELLCTXTPTR"
>xmlShellCtxtPtr</A
> ctxt,
char *arg,
<A
HREF="libxml-tree.html#XMLNODEPTR"
>xmlNodePtr</A
> node,
<A
HREF="libxml-tree.html#XMLNODEPTR"
>xmlNodePtr</A
> node2);
int <A
HREF="libxml-debugxml.html#XMLSHELLLOAD"
>xmlShellLoad</A
> (<A
HREF="libxml-debugxml.html#XMLSHELLCTXTPTR"
>xmlShellCtxtPtr</A
> ctxt,
char *filename,
<A
HREF="libxml-tree.html#XMLNODEPTR"
>xmlNodePtr</A
> node,
<A
HREF="libxml-tree.html#XMLNODEPTR"
>xmlNodePtr</A
> node2);
int <A
HREF="libxml-debugxml.html#XMLSHELLWRITE"
>xmlShellWrite</A
> (<A
HREF="libxml-debugxml.html#XMLSHELLCTXTPTR"
>xmlShellCtxtPtr</A
> ctxt,
char *filename,
<A
HREF="libxml-tree.html#XMLNODEPTR"
>xmlNodePtr</A
> node,
<A
HREF="libxml-tree.html#XMLNODEPTR"
>xmlNodePtr</A
> node2);
int <A
HREF="libxml-debugxml.html#XMLSHELLSAVE"
>xmlShellSave</A
> (<A
HREF="libxml-debugxml.html#XMLSHELLCTXTPTR"
>xmlShellCtxtPtr</A
> ctxt,
char *filename,
<A
HREF="libxml-tree.html#XMLNODEPTR"
>xmlNodePtr</A
> node,
<A
HREF="libxml-tree.html#XMLNODEPTR"
>xmlNodePtr</A
> node2);
int <A
HREF="libxml-debugxml.html#XMLSHELLVALIDATE"
>xmlShellValidate</A
> (<A
HREF="libxml-debugxml.html#XMLSHELLCTXTPTR"
>xmlShellCtxtPtr</A
> ctxt,
char *dtd,
<A
HREF="libxml-tree.html#XMLNODEPTR"
>xmlNodePtr</A
> node,
<A
HREF="libxml-tree.html#XMLNODEPTR"
>xmlNodePtr</A
> node2);
int <A
HREF="libxml-debugxml.html#XMLSHELLDU"
>xmlShellDu</A
> (<A
HREF="libxml-debugxml.html#XMLSHELLCTXTPTR"
>xmlShellCtxtPtr</A
> ctxt,
char *arg,
<A
HREF="libxml-tree.html#XMLNODEPTR"
>xmlNodePtr</A
> tree,
<A
HREF="libxml-tree.html#XMLNODEPTR"
>xmlNodePtr</A
> node2);
int <A
HREF="libxml-debugxml.html#XMLSHELLPWD"
>xmlShellPwd</A
> (<A
HREF="libxml-debugxml.html#XMLSHELLCTXTPTR"
>xmlShellCtxtPtr</A
> ctxt,
char *buffer,
<A
HREF="libxml-tree.html#XMLNODEPTR"
>xmlNodePtr</A
> node,
<A
HREF="libxml-tree.html#XMLNODEPTR"
>xmlNodePtr</A
> node2);
void <A
HREF="libxml-debugxml.html#XMLSHELL"
>xmlShell</A
> (<A
HREF="libxml-tree.html#XMLDOCPTR"
>xmlDocPtr</A
> doc,
char *filename,
<A
HREF="libxml-debugxml.html#XMLSHELLREADLINEFUNC"
>xmlShellReadlineFunc</A
> input,
<GTKDOCLINK
HREF="FILE-CAPS"
>FILE</GTKDOCLINK
> *output);</PRE
></TD
></TR
></TABLE
></DIV
><DIV
CLASS="REFSECT1"
><A
NAME="AEN28379"
></A
><H2
>Description</H2
><P
></P
></DIV
><DIV
CLASS="REFSECT1"
><A
NAME="AEN28382"
></A
><H2
>Details</H2
><DIV
CLASS="REFSECT2"
><A
NAME="AEN28384"
></A
><H3
><A
NAME="XMLDEBUGDUMPSTRING"
></A
>xmlDebugDumpString ()</H3
><TABLE
BORDER="0"
BGCOLOR="#D6E8FF"
WIDTH="100%"
CELLPADDING="6"
><TR
><TD
><PRE
CLASS="PROGRAMLISTING"
>void xmlDebugDumpString (<GTKDOCLINK
HREF="FILE-CAPS"
>FILE</GTKDOCLINK
> *output,
const <A
HREF="libxml-tree.html#XMLCHAR"
>xmlChar</A
> *str);</PRE
></TD
></TR
></TABLE
><P
>Dumps informations about the string, shorten it if necessary</P
><P
></P
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN28392"
></A
><P
></P
><TABLE
BORDER="0"
WIDTH="100%"
BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TBODY
><TR
><TD
WIDTH="20%"
ALIGN="RIGHT"
VALIGN="TOP"
><TT
CLASS="PARAMETER"
><I
>output</I
></TT
>&nbsp;:</TD
><TD
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
>&nbsp;</TD
></TR
><TR
><TD
WIDTH="20%"
ALIGN="RIGHT"
VALIGN="TOP"
><TT
CLASS="PARAMETER"
><I
>str</I
></TT
>&nbsp;:</TD
><TD
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
>&nbsp;</TD
></TR
></TBODY
></TABLE
><P
></P
></DIV
></DIV
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN28405"
></A
><H3
><A
NAME="XMLDEBUGDUMPATTR"
></A
>xmlDebugDumpAttr ()</H3
><TABLE
BORDER="0"
BGCOLOR="#D6E8FF"
WIDTH="100%"
CELLPADDING="6"
><TR
><TD
><PRE
CLASS="PROGRAMLISTING"
>void xmlDebugDumpAttr (<GTKDOCLINK
HREF="FILE-CAPS"
>FILE</GTKDOCLINK
> *output,
<A
HREF="libxml-tree.html#XMLATTRPTR"
>xmlAttrPtr</A
> attr,
int depth);</PRE
></TD
></TR
></TABLE
><P
>Dumps debug information for the attribute</P
><P
></P
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN28413"
></A
><P
></P
><TABLE
BORDER="0"
WIDTH="100%"
BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TBODY
><TR
><TD
WIDTH="20%"
ALIGN="RIGHT"
VALIGN="TOP"
><TT
CLASS="PARAMETER"
><I
>output</I
></TT
>&nbsp;:</TD
><TD
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
>&nbsp;</TD
></TR
><TR
><TD
WIDTH="20%"
ALIGN="RIGHT"
VALIGN="TOP"
><TT
CLASS="PARAMETER"
><I
>attr</I
></TT
>&nbsp;:</TD
><TD
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
>&nbsp;</TD
></TR
><TR
><TD
WIDTH="20%"
ALIGN="RIGHT"
VALIGN="TOP"
><TT
CLASS="PARAMETER"
><I
>depth</I
></TT
>&nbsp;:</TD
><TD
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
>&nbsp;</TD
></TR
></TBODY
></TABLE
><P
></P
></DIV
></DIV
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN28430"
></A
><H3
><A
NAME="XMLDEBUGDUMPATTRLIST"
></A
>xmlDebugDumpAttrList ()</H3
><TABLE
BORDER="0"
BGCOLOR="#D6E8FF"
WIDTH="100%"
CELLPADDING="6"
><TR
><TD
><PRE
CLASS="PROGRAMLISTING"
>void xmlDebugDumpAttrList (<GTKDOCLINK
HREF="FILE-CAPS"
>FILE</GTKDOCLINK
> *output,
<A
HREF="libxml-tree.html#XMLATTRPTR"
>xmlAttrPtr</A
> attr,
int depth);</PRE
></TD
></TR
></TABLE
><P
>Dumps debug information for the attribute list</P
><P
></P
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN28438"
></A
><P
></P
><TABLE
BORDER="0"
WIDTH="100%"
BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TBODY
><TR
><TD
WIDTH="20%"
ALIGN="RIGHT"
VALIGN="TOP"
><TT
CLASS="PARAMETER"
><I
>output</I
></TT
>&nbsp;:</TD
><TD
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
>&nbsp;</TD
></TR
><TR
><TD
WIDTH="20%"
ALIGN="RIGHT"
VALIGN="TOP"
><TT
CLASS="PARAMETER"
><I
>attr</I
></TT
>&nbsp;:</TD
><TD
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
>&nbsp;</TD
></TR
><TR
><TD
WIDTH="20%"
ALIGN="RIGHT"
VALIGN="TOP"
><TT
CLASS="PARAMETER"
><I
>depth</I
></TT
>&nbsp;:</TD
><TD
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
>&nbsp;</TD
></TR
></TBODY
></TABLE
><P
></P
></DIV
></DIV
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN28455"
></A
><H3
><A
NAME="XMLDEBUGDUMPONENODE"
></A
>xmlDebugDumpOneNode ()</H3
><TABLE
BORDER="0"
BGCOLOR="#D6E8FF"
WIDTH="100%"
CELLPADDING="6"
><TR
><TD
><PRE
CLASS="PROGRAMLISTING"
>void xmlDebugDumpOneNode (<GTKDOCLINK
HREF="FILE-CAPS"
>FILE</GTKDOCLINK
> *output,
<A
HREF="libxml-tree.html#XMLNODEPTR"
>xmlNodePtr</A
> node,
int depth);</PRE
></TD
></TR
></TABLE
><P
>Dumps debug information for the element node, it is not recursive</P
><P
></P
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN28463"
></A
><P
></P
><TABLE
BORDER="0"
WIDTH="100%"
BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TBODY
><TR
><TD
WIDTH="20%"
ALIGN="RIGHT"
VALIGN="TOP"
><TT
CLASS="PARAMETER"
><I
>output</I
></TT
>&nbsp;:</TD
><TD
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
>&nbsp;</TD
></TR
><TR
><TD
WIDTH="20%"
ALIGN="RIGHT"
VALIGN="TOP"
><TT
CLASS="PARAMETER"
><I
>node</I
></TT
>&nbsp;:</TD
><TD
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
>&nbsp;</TD
></TR
><TR
><TD
WIDTH="20%"
ALIGN="RIGHT"
VALIGN="TOP"
><TT
CLASS="PARAMETER"
><I
>depth</I
></TT
>&nbsp;:</TD
><TD
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
>&nbsp;</TD
></TR
></TBODY
></TABLE
><P
></P
></DIV
></DIV
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN28480"
></A
><H3
><A
NAME="XMLDEBUGDUMPNODE"
></A
>xmlDebugDumpNode ()</H3
><TABLE
BORDER="0"
BGCOLOR="#D6E8FF"
WIDTH="100%"
CELLPADDING="6"
><TR
><TD
><PRE
CLASS="PROGRAMLISTING"
>void xmlDebugDumpNode (<GTKDOCLINK
HREF="FILE-CAPS"
>FILE</GTKDOCLINK
> *output,
<A
HREF="libxml-tree.html#XMLNODEPTR"
>xmlNodePtr</A
> node,
int depth);</PRE
></TD
></TR
></TABLE
><P
>Dumps debug information for the element node, it is recursive</P
><P
></P
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN28488"
></A
><P
></P
><TABLE
BORDER="0"
WIDTH="100%"
BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TBODY
><TR
><TD
WIDTH="20%"
ALIGN="RIGHT"
VALIGN="TOP"
><TT
CLASS="PARAMETER"
><I
>output</I
></TT
>&nbsp;:</TD
><TD
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
>&nbsp;</TD
></TR
><TR
><TD
WIDTH="20%"
ALIGN="RIGHT"
VALIGN="TOP"
><TT
CLASS="PARAMETER"
><I
>node</I
></TT
>&nbsp;:</TD
><TD
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
>&nbsp;</TD
></TR
><TR
><TD
WIDTH="20%"
ALIGN="RIGHT"
VALIGN="TOP"
><TT
CLASS="PARAMETER"
><I
>depth</I
></TT
>&nbsp;:</TD
><TD
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
>&nbsp;</TD
></TR
></TBODY
></TABLE
><P
></P
></DIV
></DIV
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN28505"
></A
><H3
><A
NAME="XMLDEBUGDUMPNODELIST"
></A
>xmlDebugDumpNodeList ()</H3
><TABLE
BORDER="0"
BGCOLOR="#D6E8FF"
WIDTH="100%"
CELLPADDING="6"
><TR
><TD
><PRE
CLASS="PROGRAMLISTING"
>void xmlDebugDumpNodeList (<GTKDOCLINK
HREF="FILE-CAPS"
>FILE</GTKDOCLINK
> *output,
<A
HREF="libxml-tree.html#XMLNODEPTR"
>xmlNodePtr</A
> node,
int depth);</PRE
></TD
></TR
></TABLE
><P
>Dumps debug information for the list of element node, it is recursive</P
><P
></P
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN28513"
></A
><P
></P
><TABLE
BORDER="0"
WIDTH="100%"
BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TBODY
><TR
><TD
WIDTH="20%"
ALIGN="RIGHT"
VALIGN="TOP"
><TT
CLASS="PARAMETER"
><I
>output</I
></TT
>&nbsp;:</TD
><TD
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
>&nbsp;</TD
></TR
><TR
><TD
WIDTH="20%"
ALIGN="RIGHT"
VALIGN="TOP"
><TT
CLASS="PARAMETER"
><I
>node</I
></TT
>&nbsp;:</TD
><TD
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
>&nbsp;</TD
></TR
><TR
><TD
WIDTH="20%"
ALIGN="RIGHT"
VALIGN="TOP"
><TT
CLASS="PARAMETER"
><I
>depth</I
></TT
>&nbsp;:</TD
><TD
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
>&nbsp;</TD
></TR
></TBODY
></TABLE
><P
></P
></DIV
></DIV
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN28530"
></A
><H3
><A
NAME="XMLDEBUGDUMPDOCUMENTHEAD"
></A
>xmlDebugDumpDocumentHead ()</H3
><TABLE
BORDER="0"
BGCOLOR="#D6E8FF"
WIDTH="100%"
CELLPADDING="6"
><TR
><TD
><PRE
CLASS="PROGRAMLISTING"
>void xmlDebugDumpDocumentHead (<GTKDOCLINK
HREF="FILE-CAPS"
>FILE</GTKDOCLINK
> *output,
<A
HREF="libxml-tree.html#XMLDOCPTR"
>xmlDocPtr</A
> doc);</PRE
></TD
></TR
></TABLE
><P
>Dumps debug information cncerning the document, not recursive</P
><P
></P
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN28538"
></A
><P
></P
><TABLE
BORDER="0"
WIDTH="100%"
BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TBODY
><TR
><TD
WIDTH="20%"
ALIGN="RIGHT"
VALIGN="TOP"
><TT
CLASS="PARAMETER"
><I
>output</I
></TT
>&nbsp;:</TD
><TD
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
>&nbsp;</TD
></TR
><TR
><TD
WIDTH="20%"
ALIGN="RIGHT"
VALIGN="TOP"
><TT
CLASS="PARAMETER"
><I
>doc</I
></TT
>&nbsp;:</TD
><TD
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
>&nbsp;</TD
></TR
></TBODY
></TABLE
><P
></P
></DIV
></DIV
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN28551"
></A
><H3
><A
NAME="XMLDEBUGDUMPDOCUMENT"
></A
>xmlDebugDumpDocument ()</H3
><TABLE
BORDER="0"
BGCOLOR="#D6E8FF"
WIDTH="100%"
CELLPADDING="6"
><TR
><TD
><PRE
CLASS="PROGRAMLISTING"
>void xmlDebugDumpDocument (<GTKDOCLINK
HREF="FILE-CAPS"
>FILE</GTKDOCLINK
> *output,
<A
HREF="libxml-tree.html#XMLDOCPTR"
>xmlDocPtr</A
> doc);</PRE
></TD
></TR
></TABLE
><P
>Dumps debug information for the document, it's recursive</P
><P
></P
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN28559"
></A
><P
></P
><TABLE
BORDER="0"
WIDTH="100%"
BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TBODY
><TR
><TD
WIDTH="20%"
ALIGN="RIGHT"
VALIGN="TOP"
><TT
CLASS="PARAMETER"
><I
>output</I
></TT
>&nbsp;:</TD
><TD
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
>&nbsp;</TD
></TR
><TR
><TD
WIDTH="20%"
ALIGN="RIGHT"
VALIGN="TOP"
><TT
CLASS="PARAMETER"
><I
>doc</I
></TT
>&nbsp;:</TD
><TD
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
>&nbsp;</TD
></TR
></TBODY
></TABLE
><P
></P
></DIV
></DIV
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN28572"
></A
><H3
><A
NAME="XMLDEBUGDUMPDTD"
></A
>xmlDebugDumpDTD ()</H3
><TABLE
BORDER="0"
BGCOLOR="#D6E8FF"
WIDTH="100%"
CELLPADDING="6"
><TR
><TD
><PRE
CLASS="PROGRAMLISTING"
>void xmlDebugDumpDTD (<GTKDOCLINK
HREF="FILE-CAPS"
>FILE</GTKDOCLINK
> *output,
<A
HREF="libxml-tree.html#XMLDTDPTR"
>xmlDtdPtr</A
> dtd);</PRE
></TD
></TR
></TABLE
><P
>Dumps debug information for the DTD</P
><P
></P
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN28580"
></A
><P
></P
><TABLE
BORDER="0"
WIDTH="100%"
BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TBODY
><TR
><TD
WIDTH="20%"
ALIGN="RIGHT"
VALIGN="TOP"
><TT
CLASS="PARAMETER"
><I
>output</I
></TT
>&nbsp;:</TD
><TD
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
>&nbsp;</TD
></TR
><TR
><TD
WIDTH="20%"
ALIGN="RIGHT"
VALIGN="TOP"
><TT
CLASS="PARAMETER"
><I
>dtd</I
></TT
>&nbsp;:</TD
><TD
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
>&nbsp;</TD
></TR
></TBODY
></TABLE
><P
></P
></DIV
></DIV
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN28593"
></A
><H3
><A
NAME="XMLDEBUGDUMPENTITIES"
></A
>xmlDebugDumpEntities ()</H3
><TABLE
BORDER="0"
BGCOLOR="#D6E8FF"
WIDTH="100%"
CELLPADDING="6"
><TR
><TD
><PRE
CLASS="PROGRAMLISTING"
>void xmlDebugDumpEntities (<GTKDOCLINK
HREF="FILE-CAPS"
>FILE</GTKDOCLINK
> *output,
<A
HREF="libxml-tree.html#XMLDOCPTR"
>xmlDocPtr</A
> doc);</PRE
></TD
></TR
></TABLE
><P
>Dumps debug information for all the entities in use by the document</P
><P
></P
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN28601"
></A
><P
></P
><TABLE
BORDER="0"
WIDTH="100%"
BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TBODY
><TR
><TD
WIDTH="20%"
ALIGN="RIGHT"
VALIGN="TOP"
><TT
CLASS="PARAMETER"
><I
>output</I
></TT
>&nbsp;:</TD
><TD
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
>&nbsp;</TD
></TR
><TR
><TD
WIDTH="20%"
ALIGN="RIGHT"
VALIGN="TOP"
><TT
CLASS="PARAMETER"
><I
>doc</I
></TT
>&nbsp;:</TD
><TD
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
>&nbsp;</TD
></TR
></TBODY
></TABLE
><P
></P
></DIV
></DIV
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN28614"
></A
><H3
><A
NAME="XMLLSONENODE"
></A
>xmlLsOneNode ()</H3
><TABLE
BORDER="0"
BGCOLOR="#D6E8FF"
WIDTH="100%"
CELLPADDING="6"
><TR
><TD
><PRE
CLASS="PROGRAMLISTING"
>void xmlLsOneNode (<GTKDOCLINK
HREF="FILE-CAPS"
>FILE</GTKDOCLINK
> *output,
<A
HREF="libxml-tree.html#XMLNODEPTR"
>xmlNodePtr</A
> node);</PRE
></TD
></TR
></TABLE
><P
>Dump to <TT
CLASS="PARAMETER"
><I
>output</I
></TT
> the type and name of <TT
CLASS="PARAMETER"
><I
>node</I
></TT
>.</P
><P
></P
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN28624"
></A
><P
></P
><TABLE
BORDER="0"
WIDTH="100%"
BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TBODY
><TR
><TD
WIDTH="20%"
ALIGN="RIGHT"
VALIGN="TOP"
><TT
CLASS="PARAMETER"
><I
>output</I
></TT
>&nbsp;:</TD
><TD
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
>&nbsp;</TD
></TR
><TR
><TD
WIDTH="20%"
ALIGN="RIGHT"
VALIGN="TOP"
><TT
CLASS="PARAMETER"
><I
>node</I
></TT
>&nbsp;:</TD
><TD
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
>&nbsp;</TD
></TR
></TBODY
></TABLE
><P
></P
></DIV
></DIV
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN28637"
></A
><H3
><A
NAME="XMLLSCOUNTNODE"
></A
>xmlLsCountNode ()</H3
><TABLE
BORDER="0"
BGCOLOR="#D6E8FF"
WIDTH="100%"
CELLPADDING="6"
><TR
><TD
><PRE
CLASS="PROGRAMLISTING"
>int xmlLsCountNode (<A
HREF="libxml-tree.html#XMLNODEPTR"
>xmlNodePtr</A
> node);</PRE
></TD
></TR
></TABLE
><P
>Count the children of <TT
CLASS="PARAMETER"
><I
>node</I
></TT
>.</P
><P
></P
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN28645"
></A
><P
></P
><TABLE
BORDER="0"
WIDTH="100%"
BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TBODY
><TR
><TD
WIDTH="20%"
ALIGN="RIGHT"
VALIGN="TOP"
><TT
CLASS="PARAMETER"
><I
>node</I
></TT
>&nbsp;:</TD
><TD
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
>&nbsp;</TD
></TR
><TR
><TD
WIDTH="20%"
ALIGN="RIGHT"
VALIGN="TOP"
><SPAN
CLASS="emphasis"
><I
CLASS="EMPHASIS"
>Returns</I
></SPAN
> :</TD
><TD
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
>&nbsp;</TD
></TR
></TBODY
></TABLE
><P
></P
></DIV
></DIV
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN28658"
></A
><H3
><A
NAME="XMLSHELLREADLINEFUNC"
></A
>xmlShellReadlineFunc ()</H3
><TABLE
BORDER="0"
BGCOLOR="#D6E8FF"
WIDTH="100%"
CELLPADDING="6"
><TR
><TD
><PRE
CLASS="PROGRAMLISTING"
>char* (*xmlShellReadlineFunc) (char *prompt);</PRE
></TD
></TR
></TABLE
><P
>This is a generic signature for the XML shell input function.</P
><P
></P
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN28664"
></A
><P
></P
><TABLE
BORDER="0"
WIDTH="100%"
BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TBODY
><TR
><TD
WIDTH="20%"
ALIGN="RIGHT"
VALIGN="TOP"
><TT
CLASS="PARAMETER"
><I
>prompt</I
></TT
>&nbsp;:</TD
><TD
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
>&nbsp;</TD
></TR
><TR
><TD
WIDTH="20%"
ALIGN="RIGHT"
VALIGN="TOP"
><SPAN
CLASS="emphasis"
><I
CLASS="EMPHASIS"
>Returns</I
></SPAN
> :</TD
><TD
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
>&nbsp;</TD
></TR
></TBODY
></TABLE
><P
></P
></DIV
></DIV
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN28677"
></A
><H3
><A
NAME="XMLSHELLCTXT"
></A
>struct xmlShellCtxt</H3
><TABLE
BORDER="0"
BGCOLOR="#D6E8FF"
WIDTH="100%"
CELLPADDING="6"
><TR
><TD
><PRE
CLASS="PROGRAMLISTING"
>struct xmlShellCtxt {
char *filename;
xmlDocPtr doc;
xmlNodePtr node;
xmlXPathContextPtr pctxt;
int loaded;
FILE *output;
xmlShellReadlineFunc input;
};</PRE
></TD
></TR
></TABLE
><P
>A debugging shell context.
TODO: add the defined function tables.</P
><P
></P
></DIV
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN28683"
></A
><H3
><A
NAME="XMLSHELLCTXTPTR"
></A
>xmlShellCtxtPtr</H3
><P
></P
></DIV
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN28687"
></A
><H3
><A
NAME="XMLSHELLCMD"
></A
>xmlShellCmd ()</H3
><TABLE
BORDER="0"
BGCOLOR="#D6E8FF"
WIDTH="100%"
CELLPADDING="6"
><TR
><TD
><PRE
CLASS="PROGRAMLISTING"
>int (*xmlShellCmd) (<A
HREF="libxml-debugxml.html#XMLSHELLCTXTPTR"
>xmlShellCtxtPtr</A
> ctxt,
char *arg,
<A
HREF="libxml-tree.html#XMLNODEPTR"
>xmlNodePtr</A
> node,
<A
HREF="libxml-tree.html#XMLNODEPTR"
>xmlNodePtr</A
> node2);</PRE
></TD
></TR
></TABLE
><P
>This is a generic signature for the XML shell functions.</P
><P
></P
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN28696"
></A
><P
></P
><TABLE
BORDER="0"
WIDTH="100%"
BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TBODY
><TR
><TD
WIDTH="20%"
ALIGN="RIGHT"
VALIGN="TOP"
><TT
CLASS="PARAMETER"
><I
>ctxt</I
></TT
>&nbsp;:</TD
><TD
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
>&nbsp;</TD
></TR
><TR
><TD
WIDTH="20%"
ALIGN="RIGHT"
VALIGN="TOP"
><TT
CLASS="PARAMETER"
><I
>arg</I
></TT
>&nbsp;:</TD
><TD
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
>&nbsp;</TD
></TR
><TR
><TD
WIDTH="20%"
ALIGN="RIGHT"
VALIGN="TOP"
><TT
CLASS="PARAMETER"
><I
>node</I
></TT
>&nbsp;:</TD
><TD
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
>&nbsp;</TD
></TR
><TR
><TD
WIDTH="20%"
ALIGN="RIGHT"
VALIGN="TOP"
><TT
CLASS="PARAMETER"
><I
>node2</I
></TT
>&nbsp;:</TD
><TD
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
>&nbsp;</TD
></TR
><TR
><TD
WIDTH="20%"
ALIGN="RIGHT"
VALIGN="TOP"
><SPAN
CLASS="emphasis"
><I
CLASS="EMPHASIS"
>Returns</I
></SPAN
> :</TD
><TD
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
>&nbsp;</TD
></TR
></TBODY
></TABLE
><P
></P
></DIV
></DIV
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN28721"
></A
><H3
><A
NAME="XMLSHELLPRINTXPATHERROR"
></A
>xmlShellPrintXPathError ()</H3
><TABLE
BORDER="0"
BGCOLOR="#D6E8FF"
WIDTH="100%"
CELLPADDING="6"
><TR
><TD
><PRE
CLASS="PROGRAMLISTING"
>void xmlShellPrintXPathError (int errorType,
const char *arg);</PRE
></TD
></TR
></TABLE
><P
>Print the xpath error to libxml default error channel</P
><P
></P
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN28727"
></A
><P
></P
><TABLE
BORDER="0"
WIDTH="100%"
BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TBODY
><TR
><TD
WIDTH="20%"
ALIGN="RIGHT"
VALIGN="TOP"
><TT
CLASS="PARAMETER"
><I
>errorType</I
></TT
>&nbsp;:</TD
><TD
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
>&nbsp;</TD
></TR
><TR
><TD
WIDTH="20%"
ALIGN="RIGHT"
VALIGN="TOP"
><TT
CLASS="PARAMETER"
><I
>arg</I
></TT
>&nbsp;:</TD
><TD
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
>&nbsp;</TD
></TR
></TBODY
></TABLE
><P
></P
></DIV
></DIV
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN28740"
></A
><H3
><A
NAME="XMLSHELLPRINTNODE"
></A
>xmlShellPrintNode ()</H3
><TABLE
BORDER="0"
BGCOLOR="#D6E8FF"
WIDTH="100%"
CELLPADDING="6"
><TR
><TD
><PRE
CLASS="PROGRAMLISTING"
>void xmlShellPrintNode (<A
HREF="libxml-tree.html#XMLNODEPTR"
>xmlNodePtr</A
> node);</PRE
></TD
></TR
></TABLE
><P
>Print node to the output FILE</P
><P
></P
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN28747"
></A
><P
></P
><TABLE
BORDER="0"
WIDTH="100%"
BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TBODY
><TR
><TD
WIDTH="20%"
ALIGN="RIGHT"
VALIGN="TOP"
><TT
CLASS="PARAMETER"
><I
>node</I
></TT
>&nbsp;:</TD
><TD
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
>&nbsp;</TD
></TR
></TBODY
></TABLE
><P
></P
></DIV
></DIV
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN28756"
></A
><H3
><A
NAME="XMLSHELLPRINTXPATHRESULT"
></A
>xmlShellPrintXPathResult ()</H3
><TABLE
BORDER="0"
BGCOLOR="#D6E8FF"
WIDTH="100%"
CELLPADDING="6"
><TR
><TD
><PRE
CLASS="PROGRAMLISTING"
>void xmlShellPrintXPathResult (<A
HREF="libxml-xpath.html#XMLXPATHOBJECTPTR"
>xmlXPathObjectPtr</A
> list);</PRE
></TD
></TR
></TABLE
><P
>Prints result to the output FILE</P
><P
></P
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN28763"
></A
><P
></P
><TABLE
BORDER="0"
WIDTH="100%"
BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TBODY
><TR
><TD
WIDTH="20%"
ALIGN="RIGHT"
VALIGN="TOP"
><TT
CLASS="PARAMETER"
><I
>list</I
></TT
>&nbsp;:</TD
><TD
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
>&nbsp;</TD
></TR
></TBODY
></TABLE
><P
></P
></DIV
></DIV
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN28772"
></A
><H3
><A
NAME="XMLSHELLLIST"
></A
>xmlShellList ()</H3
><TABLE
BORDER="0"
BGCOLOR="#D6E8FF"
WIDTH="100%"
CELLPADDING="6"
><TR
><TD
><PRE
CLASS="PROGRAMLISTING"
>int xmlShellList (<A
HREF="libxml-debugxml.html#XMLSHELLCTXTPTR"
>xmlShellCtxtPtr</A
> ctxt,
char *arg,
<A
HREF="libxml-tree.html#XMLNODEPTR"
>xmlNodePtr</A
> node,
<A
HREF="libxml-tree.html#XMLNODEPTR"
>xmlNodePtr</A
> node2);</PRE
></TD
></TR
></TABLE
><P
>Implements the XML shell function "ls"
Does an Unix like listing of the given node (like a directory)</P
><P
></P
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN28781"
></A
><P
></P
><TABLE
BORDER="0"
WIDTH="100%"
BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TBODY
><TR
><TD
WIDTH="20%"
ALIGN="RIGHT"
VALIGN="TOP"
><TT
CLASS="PARAMETER"
><I
>ctxt</I
></TT
>&nbsp;:</TD
><TD
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
>&nbsp;</TD
></TR
><TR
><TD
WIDTH="20%"
ALIGN="RIGHT"
VALIGN="TOP"
><TT
CLASS="PARAMETER"
><I
>arg</I
></TT
>&nbsp;:</TD
><TD
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
>&nbsp;</TD
></TR
><TR
><TD
WIDTH="20%"
ALIGN="RIGHT"
VALIGN="TOP"
><TT
CLASS="PARAMETER"
><I
>node</I
></TT
>&nbsp;:</TD
><TD
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
>&nbsp;</TD
></TR
><TR
><TD
WIDTH="20%"
ALIGN="RIGHT"
VALIGN="TOP"
><TT
CLASS="PARAMETER"
><I
>node2</I
></TT
>&nbsp;:</TD
><TD
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
>&nbsp;</TD
></TR
><TR
><TD
WIDTH="20%"
ALIGN="RIGHT"
VALIGN="TOP"
><SPAN
CLASS="emphasis"
><I
CLASS="EMPHASIS"
>Returns</I
></SPAN
> :</TD
><TD
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
>&nbsp;</TD
></TR
></TBODY
></TABLE
><P
></P
></DIV
></DIV
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN28806"
></A
><H3
><A
NAME="XMLSHELLBASE"
></A
>xmlShellBase ()</H3
><TABLE
BORDER="0"
BGCOLOR="#D6E8FF"
WIDTH="100%"
CELLPADDING="6"
><TR
><TD
><PRE
CLASS="PROGRAMLISTING"
>int xmlShellBase (<A
HREF="libxml-debugxml.html#XMLSHELLCTXTPTR"
>xmlShellCtxtPtr</A
> ctxt,
char *arg,
<A
HREF="libxml-tree.html#XMLNODEPTR"
>xmlNodePtr</A
> node,
<A
HREF="libxml-tree.html#XMLNODEPTR"
>xmlNodePtr</A
> node2);</PRE
></TD
></TR
></TABLE
><P
>Implements the XML shell function "base"
dumps the current XML base of the node</P
><P
></P
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN28815"
></A
><P
></P
><TABLE
BORDER="0"
WIDTH="100%"
BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TBODY
><TR
><TD
WIDTH="20%"
ALIGN="RIGHT"
VALIGN="TOP"
><TT
CLASS="PARAMETER"
><I
>ctxt</I
></TT
>&nbsp;:</TD
><TD
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
>&nbsp;</TD
></TR
><TR
><TD
WIDTH="20%"
ALIGN="RIGHT"
VALIGN="TOP"
><TT
CLASS="PARAMETER"
><I
>arg</I
></TT
>&nbsp;:</TD
><TD
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
>&nbsp;</TD
></TR
><TR
><TD
WIDTH="20%"
ALIGN="RIGHT"
VALIGN="TOP"
><TT
CLASS="PARAMETER"
><I
>node</I
></TT
>&nbsp;:</TD
><TD
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
>&nbsp;</TD
></TR
><TR
><TD
WIDTH="20%"
ALIGN="RIGHT"
VALIGN="TOP"
><TT
CLASS="PARAMETER"
><I
>node2</I
></TT
>&nbsp;:</TD
><TD
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
>&nbsp;</TD
></TR
><TR
><TD
WIDTH="20%"
ALIGN="RIGHT"
VALIGN="TOP"
><SPAN
CLASS="emphasis"
><I
CLASS="EMPHASIS"
>Returns</I
></SPAN
> :</TD
><TD
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
>&nbsp;</TD
></TR
></TBODY
></TABLE
><P
></P
></DIV
></DIV
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN28840"
></A
><H3
><A
NAME="XMLSHELLDIR"
></A
>xmlShellDir ()</H3
><TABLE
BORDER="0"
BGCOLOR="#D6E8FF"
WIDTH="100%"
CELLPADDING="6"
><TR
><TD
><PRE
CLASS="PROGRAMLISTING"
>int xmlShellDir (<A
HREF="libxml-debugxml.html#XMLSHELLCTXTPTR"
>xmlShellCtxtPtr</A
> ctxt,
char *arg,
<A
HREF="libxml-tree.html#XMLNODEPTR"
>xmlNodePtr</A
> node,
<A
HREF="libxml-tree.html#XMLNODEPTR"
>xmlNodePtr</A
> node2);</PRE
></TD
></TR
></TABLE
><P
>Implements the XML shell function "dir"
dumps informations about the node (namespace, attributes, content).</P
><P
></P
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN28849"
></A
><P
></P
><TABLE
BORDER="0"
WIDTH="100%"
BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TBODY
><TR
><TD
WIDTH="20%"
ALIGN="RIGHT"
VALIGN="TOP"
><TT
CLASS="PARAMETER"
><I
>ctxt</I
></TT
>&nbsp;:</TD
><TD
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
>&nbsp;</TD
></TR
><TR
><TD
WIDTH="20%"
ALIGN="RIGHT"
VALIGN="TOP"
><TT
CLASS="PARAMETER"
><I
>arg</I
></TT
>&nbsp;:</TD
><TD
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
>&nbsp;</TD
></TR
><TR
><TD
WIDTH="20%"
ALIGN="RIGHT"
VALIGN="TOP"
><TT
CLASS="PARAMETER"
><I
>node</I
></TT
>&nbsp;:</TD
><TD
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
>&nbsp;</TD
></TR
><TR
><TD
WIDTH="20%"
ALIGN="RIGHT"
VALIGN="TOP"
><TT
CLASS="PARAMETER"
><I
>node2</I
></TT
>&nbsp;:</TD
><TD
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
>&nbsp;</TD
></TR
><TR
><TD
WIDTH="20%"
ALIGN="RIGHT"
VALIGN="TOP"
><SPAN
CLASS="emphasis"
><I
CLASS="EMPHASIS"
>Returns</I
></SPAN
> :</TD
><TD
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
>&nbsp;</TD
></TR
></TBODY
></TABLE
><P
></P
></DIV
></DIV
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN28874"
></A
><H3
><A
NAME="XMLSHELLCAT"
></A
>xmlShellCat ()</H3
><TABLE
BORDER="0"
BGCOLOR="#D6E8FF"
WIDTH="100%"
CELLPADDING="6"
><TR
><TD
><PRE
CLASS="PROGRAMLISTING"
>int xmlShellCat (<A
HREF="libxml-debugxml.html#XMLSHELLCTXTPTR"
>xmlShellCtxtPtr</A
> ctxt,
char *arg,
<A
HREF="libxml-tree.html#XMLNODEPTR"
>xmlNodePtr</A
> node,
<A
HREF="libxml-tree.html#XMLNODEPTR"
>xmlNodePtr</A
> node2);</PRE
></TD
></TR
></TABLE
><P
>Implements the XML shell function "cat"
dumps the serialization node content (XML or HTML).</P
><P
></P
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN28883"
></A
><P
></P
><TABLE
BORDER="0"
WIDTH="100%"
BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TBODY
><TR
><TD
WIDTH="20%"
ALIGN="RIGHT"
VALIGN="TOP"
><TT
CLASS="PARAMETER"
><I
>ctxt</I
></TT
>&nbsp;:</TD
><TD
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
>&nbsp;</TD
></TR
><TR
><TD
WIDTH="20%"
ALIGN="RIGHT"
VALIGN="TOP"
><TT
CLASS="PARAMETER"
><I
>arg</I
></TT
>&nbsp;:</TD
><TD
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
>&nbsp;</TD
></TR
><TR
><TD
WIDTH="20%"
ALIGN="RIGHT"
VALIGN="TOP"
><TT
CLASS="PARAMETER"
><I
>node</I
></TT
>&nbsp;:</TD
><TD
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
>&nbsp;</TD
></TR
><TR
><TD
WIDTH="20%"
ALIGN="RIGHT"
VALIGN="TOP"
><TT
CLASS="PARAMETER"
><I
>node2</I
></TT
>&nbsp;:</TD
><TD
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
>&nbsp;</TD
></TR
><TR
><TD
WIDTH="20%"
ALIGN="RIGHT"
VALIGN="TOP"
><SPAN
CLASS="emphasis"
><I
CLASS="EMPHASIS"
>Returns</I
></SPAN
> :</TD
><TD
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
>&nbsp;</TD
></TR
></TBODY
></TABLE
><P
></P
></DIV
></DIV
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN28908"
></A
><H3
><A
NAME="XMLSHELLLOAD"
></A
>xmlShellLoad ()</H3
><TABLE
BORDER="0"
BGCOLOR="#D6E8FF"
WIDTH="100%"
CELLPADDING="6"
><TR
><TD
><PRE
CLASS="PROGRAMLISTING"
>int xmlShellLoad (<A
HREF="libxml-debugxml.html#XMLSHELLCTXTPTR"
>xmlShellCtxtPtr</A
> ctxt,
char *filename,
<A
HREF="libxml-tree.html#XMLNODEPTR"
>xmlNodePtr</A
> node,
<A
HREF="libxml-tree.html#XMLNODEPTR"
>xmlNodePtr</A
> node2);</PRE
></TD
></TR
></TABLE
><P
>Implements the XML shell function "load"
loads a new document specified by the filename</P
><P
></P
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN28917"
></A
><P
></P
><TABLE
BORDER="0"
WIDTH="100%"
BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TBODY
><TR
><TD
WIDTH="20%"
ALIGN="RIGHT"
VALIGN="TOP"
><TT
CLASS="PARAMETER"
><I
>ctxt</I
></TT
>&nbsp;:</TD
><TD
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
>&nbsp;</TD
></TR
><TR
><TD
WIDTH="20%"
ALIGN="RIGHT"
VALIGN="TOP"
><TT
CLASS="PARAMETER"
><I
>filename</I
></TT
>&nbsp;:</TD
><TD
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
>&nbsp;</TD
></TR
><TR
><TD
WIDTH="20%"
ALIGN="RIGHT"
VALIGN="TOP"
><TT
CLASS="PARAMETER"
><I
>node</I
></TT
>&nbsp;:</TD
><TD
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
>&nbsp;</TD
></TR
><TR
><TD
WIDTH="20%"
ALIGN="RIGHT"
VALIGN="TOP"
><TT
CLASS="PARAMETER"
><I
>node2</I
></TT
>&nbsp;:</TD
><TD
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
>&nbsp;</TD
></TR
><TR
><TD
WIDTH="20%"
ALIGN="RIGHT"
VALIGN="TOP"
><SPAN
CLASS="emphasis"
><I
CLASS="EMPHASIS"
>Returns</I
></SPAN
> :</TD
><TD
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
>&nbsp;</TD
></TR
></TBODY
></TABLE
><P
></P
></DIV
></DIV
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN28942"
></A
><H3
><A
NAME="XMLSHELLWRITE"
></A
>xmlShellWrite ()</H3
><TABLE
BORDER="0"
BGCOLOR="#D6E8FF"
WIDTH="100%"
CELLPADDING="6"
><TR
><TD
><PRE
CLASS="PROGRAMLISTING"
>int xmlShellWrite (<A
HREF="libxml-debugxml.html#XMLSHELLCTXTPTR"
>xmlShellCtxtPtr</A
> ctxt,
char *filename,
<A
HREF="libxml-tree.html#XMLNODEPTR"
>xmlNodePtr</A
> node,
<A
HREF="libxml-tree.html#XMLNODEPTR"
>xmlNodePtr</A
> node2);</PRE
></TD
></TR
></TABLE
><P
>Implements the XML shell function "write"
Write the current node to the filename, it saves the serialization
of the subtree under the <TT
CLASS="PARAMETER"
><I
>node</I
></TT
> specified</P
><P
></P
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN28952"
></A
><P
></P
><TABLE
BORDER="0"
WIDTH="100%"
BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TBODY
><TR
><TD
WIDTH="20%"
ALIGN="RIGHT"
VALIGN="TOP"
><TT
CLASS="PARAMETER"
><I
>ctxt</I
></TT
>&nbsp;:</TD
><TD
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
>&nbsp;</TD
></TR
><TR
><TD
WIDTH="20%"
ALIGN="RIGHT"
VALIGN="TOP"
><TT
CLASS="PARAMETER"
><I
>filename</I
></TT
>&nbsp;:</TD
><TD
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
>&nbsp;</TD
></TR
><TR
><TD
WIDTH="20%"
ALIGN="RIGHT"
VALIGN="TOP"
><TT
CLASS="PARAMETER"
><I
>node</I
></TT
>&nbsp;:</TD
><TD
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
>&nbsp;</TD
></TR
><TR
><TD
WIDTH="20%"
ALIGN="RIGHT"
VALIGN="TOP"
><TT
CLASS="PARAMETER"
><I
>node2</I
></TT
>&nbsp;:</TD
><TD
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
>&nbsp;</TD
></TR
><TR
><TD
WIDTH="20%"
ALIGN="RIGHT"
VALIGN="TOP"
><SPAN
CLASS="emphasis"
><I
CLASS="EMPHASIS"
>Returns</I
></SPAN
> :</TD
><TD
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
>&nbsp;</TD
></TR
></TBODY
></TABLE
><P
></P
></DIV
></DIV
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN28977"
></A
><H3
><A
NAME="XMLSHELLSAVE"
></A
>xmlShellSave ()</H3
><TABLE
BORDER="0"
BGCOLOR="#D6E8FF"
WIDTH="100%"
CELLPADDING="6"
><TR
><TD
><PRE
CLASS="PROGRAMLISTING"
>int xmlShellSave (<A
HREF="libxml-debugxml.html#XMLSHELLCTXTPTR"
>xmlShellCtxtPtr</A
> ctxt,
char *filename,
<A
HREF="libxml-tree.html#XMLNODEPTR"
>xmlNodePtr</A
> node,
<A
HREF="libxml-tree.html#XMLNODEPTR"
>xmlNodePtr</A
> node2);</PRE
></TD
></TR
></TABLE
><P
>Implements the XML shell function "save"
Write the current document to the filename, or it's original name</P
><P
></P
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN28986"
></A
><P
></P
><TABLE
BORDER="0"
WIDTH="100%"
BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TBODY
><TR
><TD
WIDTH="20%"
ALIGN="RIGHT"
VALIGN="TOP"
><TT
CLASS="PARAMETER"
><I
>ctxt</I
></TT
>&nbsp;:</TD
><TD
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
>&nbsp;</TD
></TR
><TR
><TD
WIDTH="20%"
ALIGN="RIGHT"
VALIGN="TOP"
><TT
CLASS="PARAMETER"
><I
>filename</I
></TT
>&nbsp;:</TD
><TD
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
>&nbsp;</TD
></TR
><TR
><TD
WIDTH="20%"
ALIGN="RIGHT"
VALIGN="TOP"
><TT
CLASS="PARAMETER"
><I
>node</I
></TT
>&nbsp;:</TD
><TD
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
>&nbsp;</TD
></TR
><TR
><TD
WIDTH="20%"
ALIGN="RIGHT"
VALIGN="TOP"
><TT
CLASS="PARAMETER"
><I
>node2</I
></TT
>&nbsp;:</TD
><TD
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
>&nbsp;</TD
></TR
><TR
><TD
WIDTH="20%"
ALIGN="RIGHT"
VALIGN="TOP"
><SPAN
CLASS="emphasis"
><I
CLASS="EMPHASIS"
>Returns</I
></SPAN
> :</TD
><TD
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
>&nbsp;</TD
></TR
></TBODY
></TABLE
><P
></P
></DIV
></DIV
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN29011"
></A
><H3
><A
NAME="XMLSHELLVALIDATE"
></A
>xmlShellValidate ()</H3
><TABLE
BORDER="0"
BGCOLOR="#D6E8FF"
WIDTH="100%"
CELLPADDING="6"
><TR
><TD
><PRE
CLASS="PROGRAMLISTING"
>int xmlShellValidate (<A
HREF="libxml-debugxml.html#XMLSHELLCTXTPTR"
>xmlShellCtxtPtr</A
> ctxt,
char *dtd,
<A
HREF="libxml-tree.html#XMLNODEPTR"
>xmlNodePtr</A
> node,
<A
HREF="libxml-tree.html#XMLNODEPTR"
>xmlNodePtr</A
> node2);</PRE
></TD
></TR
></TABLE
><P
>Implements the XML shell function "validate"
Validate the document, if a DTD path is provided, then the validation
is done against the given DTD.</P
><P
></P
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN29020"
></A
><P
></P
><TABLE
BORDER="0"
WIDTH="100%"
BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TBODY
><TR
><TD
WIDTH="20%"
ALIGN="RIGHT"
VALIGN="TOP"
><TT
CLASS="PARAMETER"
><I
>ctxt</I
></TT
>&nbsp;:</TD
><TD
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
>&nbsp;</TD
></TR
><TR
><TD
WIDTH="20%"
ALIGN="RIGHT"
VALIGN="TOP"
><TT
CLASS="PARAMETER"
><I
>dtd</I
></TT
>&nbsp;:</TD
><TD
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
>&nbsp;</TD
></TR
><TR
><TD
WIDTH="20%"
ALIGN="RIGHT"
VALIGN="TOP"
><TT
CLASS="PARAMETER"
><I
>node</I
></TT
>&nbsp;:</TD
><TD
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
>&nbsp;</TD
></TR
><TR
><TD
WIDTH="20%"
ALIGN="RIGHT"
VALIGN="TOP"
><TT
CLASS="PARAMETER"
><I
>node2</I
></TT
>&nbsp;:</TD
><TD
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
>&nbsp;</TD
></TR
><TR
><TD
WIDTH="20%"
ALIGN="RIGHT"
VALIGN="TOP"
><SPAN
CLASS="emphasis"
><I
CLASS="EMPHASIS"
>Returns</I
></SPAN
> :</TD
><TD
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
>&nbsp;</TD
></TR
></TBODY
></TABLE
><P
></P
></DIV
></DIV
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN29045"
></A
><H3
><A
NAME="XMLSHELLDU"
></A
>xmlShellDu ()</H3
><TABLE
BORDER="0"
BGCOLOR="#D6E8FF"
WIDTH="100%"
CELLPADDING="6"
><TR
><TD
><PRE
CLASS="PROGRAMLISTING"
>int xmlShellDu (<A
HREF="libxml-debugxml.html#XMLSHELLCTXTPTR"
>xmlShellCtxtPtr</A
> ctxt,
char *arg,
<A
HREF="libxml-tree.html#XMLNODEPTR"
>xmlNodePtr</A
> tree,
<A
HREF="libxml-tree.html#XMLNODEPTR"
>xmlNodePtr</A
> node2);</PRE
></TD
></TR
></TABLE
><P
>Implements the XML shell function "du"
show the structure of the subtree under node <TT
CLASS="PARAMETER"
><I
>tree</I
></TT
>
If <TT
CLASS="PARAMETER"
><I
>tree</I
></TT
> is null, the command works on the current node.</P
><P
></P
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN29056"
></A
><P
></P
><TABLE
BORDER="0"
WIDTH="100%"
BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TBODY
><TR
><TD
WIDTH="20%"
ALIGN="RIGHT"
VALIGN="TOP"
><TT
CLASS="PARAMETER"
><I
>ctxt</I
></TT
>&nbsp;:</TD
><TD
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
>&nbsp;</TD
></TR
><TR
><TD
WIDTH="20%"
ALIGN="RIGHT"
VALIGN="TOP"
><TT
CLASS="PARAMETER"
><I
>arg</I
></TT
>&nbsp;:</TD
><TD
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
>&nbsp;</TD
></TR
><TR
><TD
WIDTH="20%"
ALIGN="RIGHT"
VALIGN="TOP"
><TT
CLASS="PARAMETER"
><I
>tree</I
></TT
>&nbsp;:</TD
><TD
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
>&nbsp;</TD
></TR
><TR
><TD
WIDTH="20%"
ALIGN="RIGHT"
VALIGN="TOP"
><TT
CLASS="PARAMETER"
><I
>node2</I
></TT
>&nbsp;:</TD
><TD
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
>&nbsp;</TD
></TR
><TR
><TD
WIDTH="20%"
ALIGN="RIGHT"
VALIGN="TOP"
><SPAN
CLASS="emphasis"
><I
CLASS="EMPHASIS"
>Returns</I
></SPAN
> :</TD
><TD
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
>&nbsp;</TD
></TR
></TBODY
></TABLE
><P
></P
></DIV
></DIV
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN29081"
></A
><H3
><A
NAME="XMLSHELLPWD"
></A
>xmlShellPwd ()</H3
><TABLE
BORDER="0"
BGCOLOR="#D6E8FF"
WIDTH="100%"
CELLPADDING="6"
><TR
><TD
><PRE
CLASS="PROGRAMLISTING"
>int xmlShellPwd (<A
HREF="libxml-debugxml.html#XMLSHELLCTXTPTR"
>xmlShellCtxtPtr</A
> ctxt,
char *buffer,
<A
HREF="libxml-tree.html#XMLNODEPTR"
>xmlNodePtr</A
> node,
<A
HREF="libxml-tree.html#XMLNODEPTR"
>xmlNodePtr</A
> node2);</PRE
></TD
></TR
></TABLE
><P
>Implements the XML shell function "pwd"
Show the full path from the root to the node, if needed building
thumblers when similar elements exists at a given ancestor level.
The output is compatible with XPath commands.</P
><P
></P
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN29090"
></A
><P
></P
><TABLE
BORDER="0"
WIDTH="100%"
BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TBODY
><TR
><TD
WIDTH="20%"
ALIGN="RIGHT"
VALIGN="TOP"
><TT
CLASS="PARAMETER"
><I
>ctxt</I
></TT
>&nbsp;:</TD
><TD
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
>&nbsp;</TD
></TR
><TR
><TD
WIDTH="20%"
ALIGN="RIGHT"
VALIGN="TOP"
><TT
CLASS="PARAMETER"
><I
>buffer</I
></TT
>&nbsp;:</TD
><TD
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
>&nbsp;</TD
></TR
><TR
><TD
WIDTH="20%"
ALIGN="RIGHT"
VALIGN="TOP"
><TT
CLASS="PARAMETER"
><I
>node</I
></TT
>&nbsp;:</TD
><TD
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
>&nbsp;</TD
></TR
><TR
><TD
WIDTH="20%"
ALIGN="RIGHT"
VALIGN="TOP"
><TT
CLASS="PARAMETER"
><I
>node2</I
></TT
>&nbsp;:</TD
><TD
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
>&nbsp;</TD
></TR
><TR
><TD
WIDTH="20%"
ALIGN="RIGHT"
VALIGN="TOP"
><SPAN
CLASS="emphasis"
><I
CLASS="EMPHASIS"
>Returns</I
></SPAN
> :</TD
><TD
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
>&nbsp;</TD
></TR
></TBODY
></TABLE
><P
></P
></DIV
></DIV
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN29115"
></A
><H3
><A
NAME="XMLSHELL"
></A
>xmlShell ()</H3
><TABLE
BORDER="0"
BGCOLOR="#D6E8FF"
WIDTH="100%"
CELLPADDING="6"
><TR
><TD
><PRE
CLASS="PROGRAMLISTING"
>void xmlShell (<A
HREF="libxml-tree.html#XMLDOCPTR"
>xmlDocPtr</A
> doc,
char *filename,
<A
HREF="libxml-debugxml.html#XMLSHELLREADLINEFUNC"
>xmlShellReadlineFunc</A
> input,
<GTKDOCLINK
HREF="FILE-CAPS"
>FILE</GTKDOCLINK
> *output);</PRE
></TD
></TR
></TABLE
><P
>Implements the XML shell
This allow to load, validate, view, modify and save a document
using a environment similar to a UNIX commandline.</P
><P
></P
><DIV
CLASS="INFORMALTABLE"
><A
NAME="AEN29124"
></A
><P
></P
><TABLE
BORDER="0"
WIDTH="100%"
BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TBODY
><TR
><TD
WIDTH="20%"
ALIGN="RIGHT"
VALIGN="TOP"
><TT
CLASS="PARAMETER"
><I
>doc</I
></TT
>&nbsp;:</TD
><TD
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
>&nbsp;</TD
></TR
><TR
><TD
WIDTH="20%"
ALIGN="RIGHT"
VALIGN="TOP"
><TT
CLASS="PARAMETER"
><I
>filename</I
></TT
>&nbsp;:</TD
><TD
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
>&nbsp;</TD
></TR
><TR
><TD
WIDTH="20%"
ALIGN="RIGHT"
VALIGN="TOP"
><TT
CLASS="PARAMETER"
><I
>input</I
></TT
>&nbsp;:</TD
><TD
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
>&nbsp;</TD
></TR
><TR
><TD
WIDTH="20%"
ALIGN="RIGHT"
VALIGN="TOP"
><TT
CLASS="PARAMETER"
><I
>output</I
></TT
>&nbsp;:</TD
><TD
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
>&nbsp;</TD
></TR
></TBODY
></TABLE
><P
></P
></DIV
></DIV
></DIV
><DIV
CLASS="NAVFOOTER"
><BR
CLEAR="all"><BR><TABLE
WIDTH="100%"
BORDER="0"
BGCOLOR="#000000"
CELLPADDING="1"
CELLSPACING="0"
><TR
><TD
WIDTH="25%"
BGCOLOR="#C00000"
ALIGN="left"
><A
HREF="libxml-hash.html"
><FONT
COLOR="#FFFFFF"
SIZE="3"
><B
>&#60;&#60;&#60; Previous Page</B
></FONT
></A
></TD
><TD
WIDTH="25%"
BGCOLOR="#0000C0"
ALIGN="center"
><FONT
COLOR="#FFFFFF"
SIZE="3"
><B
><A
HREF="book1.html"
><FONT
COLOR="#FFFFFF"
SIZE="3"
><B
>Home</B
></FONT
></A
></B
></FONT
></TD
><TD
WIDTH="25%"
BGCOLOR="#00C000"
ALIGN="center"
><FONT
COLOR="#FFFFFF"
SIZE="3"
><B
><A
HREF="libxml-lib.html"
><FONT
COLOR="#FFFFFF"
SIZE="3"
><B
>Up</B
></FONT
></A
></B
></FONT
></TD
><TD
WIDTH="25%"
BGCOLOR="#C00000"
ALIGN="right"
><A
HREF="libxml-xmlmemory.html"
><FONT
COLOR="#FFFFFF"
SIZE="3"
><B
>Next Page &#62;&#62;&#62;</B
></FONT
></A
></TD
></TR
><TR
><TD
COLSPAN="2"
ALIGN="left"
><FONT
COLOR="#FFFFFF"
SIZE="3"
><B
>hash</B
></FONT
></TD
><TD
COLSPAN="2"
ALIGN="right"
><FONT
COLOR="#FFFFFF"
SIZE="3"
><B
>xmlmemory</B
></FONT
></TD
></TR
></TABLE
></DIV
></BODY
></HTML
>