1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-07-28 00:21:53 +03:00

- cleaned up the FTP module, did the API, extracted docs

- regenerated and updated the docs
This commit is contained in:
Daniel Veillard
2000-01-25 19:27:27 +00:00
parent 3a2ebddcf7
commit aeea04f18f
17 changed files with 7157 additions and 181 deletions

View File

@ -673,7 +673,17 @@ xmlShellDir(xmlShellCtxtPtr ctxt, char *arg, xmlNodePtr node,
int
xmlShellCat(xmlShellCtxtPtr ctxt, char *arg, xmlNodePtr node,
xmlNodePtr node2) {
xmlElemDump(stdout, ctxt->doc, node);
if (ctxt->doc->type == XML_HTML_DOCUMENT_NODE) {
if (node->type == XML_HTML_DOCUMENT_NODE)
htmlDocDump(stdout, (htmlDocPtr) node);
else
htmlNodeDump(stdout, ctxt->doc, node);
} else {
if (node->type == XML_DOCUMENT_NODE)
xmlDocDump(stdout, (xmlDocPtr) node);
else
xmlElemDump(stdout, ctxt->doc, node);
}
printf("\n");
return(0);
}