| <HTML |
| ><HEAD |
| ><TITLE |
| >debugXML</TITLE |
| ><META |
| NAME="GENERATOR" |
| CONTENT="Modular DocBook HTML Stylesheet Version 1.64 |
| "><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 |
| ><<< 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 >>></B |
| ></FONT |
| ></A |
| ></TD |
| ></TR |
| ></TABLE |
| ></DIV |
| ><H1 |
| ><A |
| NAME="LIBXML-DEBUGXML" |
| >debugXML</A |
| ></H1 |
| ><DIV |
| CLASS="REFNAMEDIV" |
| ><A |
| NAME="AEN25143" |
| ></A |
| ><H2 |
| >Name</H2 |
| >debugXML -- </DIV |
| ><DIV |
| CLASS="REFSYNOPSISDIV" |
| ><A |
| NAME="AEN25146" |
| ></A |
| ><H2 |
| >Synopsis</H2 |
| ><TABLE |
| BORDER="0" |
| BGCOLOR="#D6E8FF" |
| WIDTH="100%" |
| CELLPADDING="6" |
| ><TR |
| ><TD |
| ><PRE |
| CLASS="SYNOPSIS" |
| > |
| |
| 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); |
| const char* <A |
| HREF="libxml-debugxml.html#XMLBOOLTOTEXT" |
| >xmlBoolToText</A |
| > (int boolval); |
| <GTKDOCLINK |
| HREF="LONG" |
| >long</GTKDOCLINK |
| > <A |
| HREF="libxml-debugxml.html#XMLGETLINENO" |
| >xmlGetLineNo</A |
| > (<A |
| HREF="libxml-tree.html#XMLNODEPTR" |
| >xmlNodePtr</A |
| > node); |
| <A |
| HREF="libxml-tree.html#XMLCHAR" |
| >xmlChar</A |
| >* <A |
| HREF="libxml-debugxml.html#XMLGETNODEPATH" |
| >xmlGetNodePath</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="AEN25247" |
| ></A |
| ><H2 |
| >Description</H2 |
| ><P |
| ></P |
| ></DIV |
| ><DIV |
| CLASS="REFSECT1" |
| ><A |
| NAME="AEN25250" |
| ></A |
| ><H2 |
| >Details</H2 |
| ><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN25252" |
| ></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="AEN25260" |
| ></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 |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > the FILE * for the output</TD |
| ></TR |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><TT |
| CLASS="PARAMETER" |
| ><I |
| >str</I |
| ></TT |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > the string</TD |
| ></TR |
| ></TBODY |
| ></TABLE |
| ><P |
| ></P |
| ></DIV |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN25273" |
| ></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="AEN25281" |
| ></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 |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > the FILE * for the output</TD |
| ></TR |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><TT |
| CLASS="PARAMETER" |
| ><I |
| >attr</I |
| ></TT |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > the attribute</TD |
| ></TR |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><TT |
| CLASS="PARAMETER" |
| ><I |
| >depth</I |
| ></TT |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > the indentation level.</TD |
| ></TR |
| ></TBODY |
| ></TABLE |
| ><P |
| ></P |
| ></DIV |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN25298" |
| ></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="AEN25306" |
| ></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 |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > the FILE * for the output</TD |
| ></TR |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><TT |
| CLASS="PARAMETER" |
| ><I |
| >attr</I |
| ></TT |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > the attribute list</TD |
| ></TR |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><TT |
| CLASS="PARAMETER" |
| ><I |
| >depth</I |
| ></TT |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > the indentation level.</TD |
| ></TR |
| ></TBODY |
| ></TABLE |
| ><P |
| ></P |
| ></DIV |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN25323" |
| ></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="AEN25331" |
| ></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 |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > the FILE * for the output</TD |
| ></TR |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><TT |
| CLASS="PARAMETER" |
| ><I |
| >node</I |
| ></TT |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > the node</TD |
| ></TR |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><TT |
| CLASS="PARAMETER" |
| ><I |
| >depth</I |
| ></TT |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > the indentation level.</TD |
| ></TR |
| ></TBODY |
| ></TABLE |
| ><P |
| ></P |
| ></DIV |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN25348" |
| ></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="AEN25356" |
| ></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 |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > the FILE * for the output</TD |
| ></TR |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><TT |
| CLASS="PARAMETER" |
| ><I |
| >node</I |
| ></TT |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > the node</TD |
| ></TR |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><TT |
| CLASS="PARAMETER" |
| ><I |
| >depth</I |
| ></TT |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > the indentation level.</TD |
| ></TR |
| ></TBODY |
| ></TABLE |
| ><P |
| ></P |
| ></DIV |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN25373" |
| ></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="AEN25381" |
| ></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 |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > the FILE * for the output</TD |
| ></TR |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><TT |
| CLASS="PARAMETER" |
| ><I |
| >node</I |
| ></TT |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > the node list</TD |
| ></TR |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><TT |
| CLASS="PARAMETER" |
| ><I |
| >depth</I |
| ></TT |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > the indentation level.</TD |
| ></TR |
| ></TBODY |
| ></TABLE |
| ><P |
| ></P |
| ></DIV |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN25398" |
| ></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="AEN25406" |
| ></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 |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > the FILE * for the output</TD |
| ></TR |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><TT |
| CLASS="PARAMETER" |
| ><I |
| >doc</I |
| ></TT |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > the document</TD |
| ></TR |
| ></TBODY |
| ></TABLE |
| ><P |
| ></P |
| ></DIV |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN25419" |
| ></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="AEN25427" |
| ></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 |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > the FILE * for the output</TD |
| ></TR |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><TT |
| CLASS="PARAMETER" |
| ><I |
| >doc</I |
| ></TT |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > the document</TD |
| ></TR |
| ></TBODY |
| ></TABLE |
| ><P |
| ></P |
| ></DIV |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN25440" |
| ></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="AEN25448" |
| ></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 |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > the FILE * for the output</TD |
| ></TR |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><TT |
| CLASS="PARAMETER" |
| ><I |
| >dtd</I |
| ></TT |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > the DTD</TD |
| ></TR |
| ></TBODY |
| ></TABLE |
| ><P |
| ></P |
| ></DIV |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN25461" |
| ></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="AEN25469" |
| ></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 |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > the FILE * for the output</TD |
| ></TR |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><TT |
| CLASS="PARAMETER" |
| ><I |
| >doc</I |
| ></TT |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > the document</TD |
| ></TR |
| ></TBODY |
| ></TABLE |
| ><P |
| ></P |
| ></DIV |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN25482" |
| ></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 |
| ></P |
| ><DIV |
| CLASS="INFORMALTABLE" |
| ><A |
| NAME="AEN25489" |
| ></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 |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > </TD |
| ></TR |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><TT |
| CLASS="PARAMETER" |
| ><I |
| >node</I |
| ></TT |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > </TD |
| ></TR |
| ></TBODY |
| ></TABLE |
| ><P |
| ></P |
| ></DIV |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN25502" |
| ></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 |
| ></P |
| ><DIV |
| CLASS="INFORMALTABLE" |
| ><A |
| NAME="AEN25508" |
| ></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 |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > </TD |
| ></TR |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><I |
| CLASS="EMPHASIS" |
| >Returns</I |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > </TD |
| ></TR |
| ></TBODY |
| ></TABLE |
| ><P |
| ></P |
| ></DIV |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN25521" |
| ></A |
| ><H3 |
| ><A |
| NAME="XMLBOOLTOTEXT" |
| ></A |
| >xmlBoolToText ()</H3 |
| ><TABLE |
| BORDER="0" |
| BGCOLOR="#D6E8FF" |
| WIDTH="100%" |
| CELLPADDING="6" |
| ><TR |
| ><TD |
| ><PRE |
| CLASS="PROGRAMLISTING" |
| >const char* xmlBoolToText (int boolval);</PRE |
| ></TD |
| ></TR |
| ></TABLE |
| ><P |
| >Convenient way to turn bool into text</P |
| ><P |
| ></P |
| ><DIV |
| CLASS="INFORMALTABLE" |
| ><A |
| NAME="AEN25527" |
| ></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 |
| >boolval</I |
| ></TT |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > a bool to turn into text</TD |
| ></TR |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><I |
| CLASS="EMPHASIS" |
| >Returns</I |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > </TD |
| ></TR |
| ></TBODY |
| ></TABLE |
| ><P |
| ></P |
| ></DIV |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN25540" |
| ></A |
| ><H3 |
| ><A |
| NAME="XMLGETLINENO" |
| ></A |
| >xmlGetLineNo ()</H3 |
| ><TABLE |
| BORDER="0" |
| BGCOLOR="#D6E8FF" |
| WIDTH="100%" |
| CELLPADDING="6" |
| ><TR |
| ><TD |
| ><PRE |
| CLASS="PROGRAMLISTING" |
| ><GTKDOCLINK |
| HREF="LONG" |
| >long</GTKDOCLINK |
| > xmlGetLineNo (<A |
| HREF="libxml-tree.html#XMLNODEPTR" |
| >xmlNodePtr</A |
| > node);</PRE |
| ></TD |
| ></TR |
| ></TABLE |
| ><P |
| >Get line number of node</P |
| ><P |
| ></P |
| ><DIV |
| CLASS="INFORMALTABLE" |
| ><A |
| NAME="AEN25548" |
| ></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 |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > valid node</TD |
| ></TR |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><I |
| CLASS="EMPHASIS" |
| >Returns</I |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| >the line number if sucessfull, -1 otherwise</TD |
| ></TR |
| ></TBODY |
| ></TABLE |
| ><P |
| ></P |
| ></DIV |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN25561" |
| ></A |
| ><H3 |
| ><A |
| NAME="XMLGETNODEPATH" |
| ></A |
| >xmlGetNodePath ()</H3 |
| ><TABLE |
| BORDER="0" |
| BGCOLOR="#D6E8FF" |
| WIDTH="100%" |
| CELLPADDING="6" |
| ><TR |
| ><TD |
| ><PRE |
| CLASS="PROGRAMLISTING" |
| ><A |
| HREF="libxml-tree.html#XMLCHAR" |
| >xmlChar</A |
| >* xmlGetNodePath (<A |
| HREF="libxml-tree.html#XMLNODEPTR" |
| >xmlNodePtr</A |
| > node);</PRE |
| ></TD |
| ></TR |
| ></TABLE |
| ><P |
| >Build a structure based Path for the given node</P |
| ><P |
| ></P |
| ><DIV |
| CLASS="INFORMALTABLE" |
| ><A |
| NAME="AEN25569" |
| ></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 |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > a node</TD |
| ></TR |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><I |
| CLASS="EMPHASIS" |
| >Returns</I |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| >the new path or NULL in case of error. The caller must free |
| the returned string</TD |
| ></TR |
| ></TBODY |
| ></TABLE |
| ><P |
| ></P |
| ></DIV |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN25582" |
| ></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="AEN25588" |
| ></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 |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > a string prompt</TD |
| ></TR |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><I |
| CLASS="EMPHASIS" |
| >Returns</I |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| >a string which will be freed by the Shell</TD |
| ></TR |
| ></TBODY |
| ></TABLE |
| ><P |
| ></P |
| ></DIV |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN25601" |
| ></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="AEN25607" |
| ></A |
| ><H3 |
| ><A |
| NAME="XMLSHELLCTXTPTR" |
| ></A |
| >xmlShellCtxtPtr</H3 |
| ><TABLE |
| BORDER="0" |
| BGCOLOR="#D6E8FF" |
| WIDTH="100%" |
| CELLPADDING="6" |
| ><TR |
| ><TD |
| ><PRE |
| CLASS="PROGRAMLISTING" |
| >typedef xmlShellCtxt *xmlShellCtxtPtr;</PRE |
| ></TD |
| ></TR |
| ></TABLE |
| ><P |
| ></P |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN25612" |
| ></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="AEN25621" |
| ></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 |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > a shell context</TD |
| ></TR |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><TT |
| CLASS="PARAMETER" |
| ><I |
| >arg</I |
| ></TT |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > a string argument</TD |
| ></TR |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><TT |
| CLASS="PARAMETER" |
| ><I |
| >node</I |
| ></TT |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > a first node</TD |
| ></TR |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><TT |
| CLASS="PARAMETER" |
| ><I |
| >node2</I |
| ></TT |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > a second node</TD |
| ></TR |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><I |
| CLASS="EMPHASIS" |
| >Returns</I |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| >an int, negative returns indicating errors</TD |
| ></TR |
| ></TBODY |
| ></TABLE |
| ><P |
| ></P |
| ></DIV |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN25646" |
| ></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 |
| ></P |
| ><DIV |
| CLASS="INFORMALTABLE" |
| ><A |
| NAME="AEN25651" |
| ></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 |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > </TD |
| ></TR |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><TT |
| CLASS="PARAMETER" |
| ><I |
| >arg</I |
| ></TT |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > </TD |
| ></TR |
| ></TBODY |
| ></TABLE |
| ><P |
| ></P |
| ></DIV |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN25664" |
| ></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 stdout</P |
| ><P |
| ></P |
| ><DIV |
| CLASS="INFORMALTABLE" |
| ><A |
| NAME="AEN25671" |
| ></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 |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > a non-null node to print to stdout</TD |
| ></TR |
| ></TBODY |
| ></TABLE |
| ><P |
| ></P |
| ></DIV |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN25680" |
| ></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 stdout</P |
| ><P |
| ></P |
| ><DIV |
| CLASS="INFORMALTABLE" |
| ><A |
| NAME="AEN25687" |
| ></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 |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > </TD |
| ></TR |
| ></TBODY |
| ></TABLE |
| ><P |
| ></P |
| ></DIV |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN25696" |
| ></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="AEN25705" |
| ></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 |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > the shell context</TD |
| ></TR |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><TT |
| CLASS="PARAMETER" |
| ><I |
| >arg</I |
| ></TT |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > unused</TD |
| ></TR |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><TT |
| CLASS="PARAMETER" |
| ><I |
| >node</I |
| ></TT |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > a node</TD |
| ></TR |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><TT |
| CLASS="PARAMETER" |
| ><I |
| >node2</I |
| ></TT |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > unused</TD |
| ></TR |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><I |
| CLASS="EMPHASIS" |
| >Returns</I |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| >0</TD |
| ></TR |
| ></TBODY |
| ></TABLE |
| ><P |
| ></P |
| ></DIV |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN25730" |
| ></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="AEN25739" |
| ></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 |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > the shell context</TD |
| ></TR |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><TT |
| CLASS="PARAMETER" |
| ><I |
| >arg</I |
| ></TT |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > unused</TD |
| ></TR |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><TT |
| CLASS="PARAMETER" |
| ><I |
| >node</I |
| ></TT |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > a node</TD |
| ></TR |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><TT |
| CLASS="PARAMETER" |
| ><I |
| >node2</I |
| ></TT |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > unused</TD |
| ></TR |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><I |
| CLASS="EMPHASIS" |
| >Returns</I |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| >0</TD |
| ></TR |
| ></TBODY |
| ></TABLE |
| ><P |
| ></P |
| ></DIV |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN25764" |
| ></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="AEN25773" |
| ></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 |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > the shell context</TD |
| ></TR |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><TT |
| CLASS="PARAMETER" |
| ><I |
| >arg</I |
| ></TT |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > unused</TD |
| ></TR |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><TT |
| CLASS="PARAMETER" |
| ><I |
| >node</I |
| ></TT |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > a node</TD |
| ></TR |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><TT |
| CLASS="PARAMETER" |
| ><I |
| >node2</I |
| ></TT |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > unused</TD |
| ></TR |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><I |
| CLASS="EMPHASIS" |
| >Returns</I |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| >0</TD |
| ></TR |
| ></TBODY |
| ></TABLE |
| ><P |
| ></P |
| ></DIV |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN25798" |
| ></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="AEN25807" |
| ></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 |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > the shell context</TD |
| ></TR |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><TT |
| CLASS="PARAMETER" |
| ><I |
| >arg</I |
| ></TT |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > unused</TD |
| ></TR |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><TT |
| CLASS="PARAMETER" |
| ><I |
| >node</I |
| ></TT |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > a node</TD |
| ></TR |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><TT |
| CLASS="PARAMETER" |
| ><I |
| >node2</I |
| ></TT |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > unused</TD |
| ></TR |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><I |
| CLASS="EMPHASIS" |
| >Returns</I |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| >0</TD |
| ></TR |
| ></TBODY |
| ></TABLE |
| ><P |
| ></P |
| ></DIV |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN25832" |
| ></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="AEN25841" |
| ></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 |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > the shell context</TD |
| ></TR |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><TT |
| CLASS="PARAMETER" |
| ><I |
| >filename</I |
| ></TT |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > the file name</TD |
| ></TR |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><TT |
| CLASS="PARAMETER" |
| ><I |
| >node</I |
| ></TT |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > unused</TD |
| ></TR |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><TT |
| CLASS="PARAMETER" |
| ><I |
| >node2</I |
| ></TT |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > unused</TD |
| ></TR |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><I |
| CLASS="EMPHASIS" |
| >Returns</I |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| >0 or -1 if loading failed</TD |
| ></TR |
| ></TBODY |
| ></TABLE |
| ><P |
| ></P |
| ></DIV |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN25866" |
| ></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 serailization |
| of the subtree under the <TT |
| CLASS="PARAMETER" |
| ><I |
| >node</I |
| ></TT |
| > specified</P |
| ><P |
| ></P |
| ><DIV |
| CLASS="INFORMALTABLE" |
| ><A |
| NAME="AEN25876" |
| ></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 |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > the shell context</TD |
| ></TR |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><TT |
| CLASS="PARAMETER" |
| ><I |
| >filename</I |
| ></TT |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > the file name</TD |
| ></TR |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><TT |
| CLASS="PARAMETER" |
| ><I |
| >node</I |
| ></TT |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > a node in the tree</TD |
| ></TR |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><TT |
| CLASS="PARAMETER" |
| ><I |
| >node2</I |
| ></TT |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > unused</TD |
| ></TR |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><I |
| CLASS="EMPHASIS" |
| >Returns</I |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| >0 or -1 in case of error</TD |
| ></TR |
| ></TBODY |
| ></TABLE |
| ><P |
| ></P |
| ></DIV |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN25901" |
| ></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="AEN25910" |
| ></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 |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > the shell context</TD |
| ></TR |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><TT |
| CLASS="PARAMETER" |
| ><I |
| >filename</I |
| ></TT |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > the file name (optionnal)</TD |
| ></TR |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><TT |
| CLASS="PARAMETER" |
| ><I |
| >node</I |
| ></TT |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > unused</TD |
| ></TR |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><TT |
| CLASS="PARAMETER" |
| ><I |
| >node2</I |
| ></TT |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > unused</TD |
| ></TR |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><I |
| CLASS="EMPHASIS" |
| >Returns</I |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| >0 or -1 in case of error</TD |
| ></TR |
| ></TBODY |
| ></TABLE |
| ><P |
| ></P |
| ></DIV |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN25935" |
| ></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="AEN25944" |
| ></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 |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > the shell context</TD |
| ></TR |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><TT |
| CLASS="PARAMETER" |
| ><I |
| >dtd</I |
| ></TT |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > the DTD URI (optionnal)</TD |
| ></TR |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><TT |
| CLASS="PARAMETER" |
| ><I |
| >node</I |
| ></TT |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > unused</TD |
| ></TR |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><TT |
| CLASS="PARAMETER" |
| ><I |
| >node2</I |
| ></TT |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > unused</TD |
| ></TR |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><I |
| CLASS="EMPHASIS" |
| >Returns</I |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| >0 or -1 in case of error</TD |
| ></TR |
| ></TBODY |
| ></TABLE |
| ><P |
| ></P |
| ></DIV |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN25969" |
| ></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="AEN25980" |
| ></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 |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > the shell context</TD |
| ></TR |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><TT |
| CLASS="PARAMETER" |
| ><I |
| >arg</I |
| ></TT |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > unused</TD |
| ></TR |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><TT |
| CLASS="PARAMETER" |
| ><I |
| >tree</I |
| ></TT |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > a node defining a subtree</TD |
| ></TR |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><TT |
| CLASS="PARAMETER" |
| ><I |
| >node2</I |
| ></TT |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > unused</TD |
| ></TR |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><I |
| CLASS="EMPHASIS" |
| >Returns</I |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| >0 or -1 in case of error</TD |
| ></TR |
| ></TBODY |
| ></TABLE |
| ><P |
| ></P |
| ></DIV |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN26005" |
| ></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="AEN26014" |
| ></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 |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > the shell context</TD |
| ></TR |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><TT |
| CLASS="PARAMETER" |
| ><I |
| >buffer</I |
| ></TT |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > the output buffer</TD |
| ></TR |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><TT |
| CLASS="PARAMETER" |
| ><I |
| >node</I |
| ></TT |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > </TD |
| ></TR |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><TT |
| CLASS="PARAMETER" |
| ><I |
| >node2</I |
| ></TT |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > unused</TD |
| ></TR |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><I |
| CLASS="EMPHASIS" |
| >Returns</I |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| >0 or -1 in case of error</TD |
| ></TR |
| ></TBODY |
| ></TABLE |
| ><P |
| ></P |
| ></DIV |
| ></DIV |
| ><HR><DIV |
| CLASS="REFSECT2" |
| ><A |
| NAME="AEN26039" |
| ></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="AEN26048" |
| ></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 |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > the initial document</TD |
| ></TR |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><TT |
| CLASS="PARAMETER" |
| ><I |
| >filename</I |
| ></TT |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > the output buffer</TD |
| ></TR |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><TT |
| CLASS="PARAMETER" |
| ><I |
| >input</I |
| ></TT |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > the line reading function</TD |
| ></TR |
| ><TR |
| ><TD |
| WIDTH="20%" |
| ALIGN="RIGHT" |
| VALIGN="TOP" |
| ><TT |
| CLASS="PARAMETER" |
| ><I |
| >output</I |
| ></TT |
| > :</TD |
| ><TD |
| WIDTH="80%" |
| ALIGN="LEFT" |
| VALIGN="TOP" |
| > the output FILE*</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 |
| ><<< 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 >>></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 |
| > |