version 1.13, 2000/01/26 14:30:22
|
version 1.14, 2000/02/03 14:58:46
|
Line 16
|
Line 16
|
#ifdef HAVE_STDLIB_H |
#ifdef HAVE_STDLIB_H |
#include <stdlib.h> |
#include <stdlib.h> |
#endif |
#endif |
|
#ifdef HAVE_STRING_H |
|
#include <string.h> |
|
#endif |
#include "xmlmemory.h" |
#include "xmlmemory.h" |
#include "tree.h" |
#include "tree.h" |
#include "parser.h" |
#include "parser.h" |
Line 677 xmlShellCat(xmlShellCtxtPtr ctxt, char *
|
Line 680 xmlShellCat(xmlShellCtxtPtr ctxt, char *
|
if (node->type == XML_HTML_DOCUMENT_NODE) |
if (node->type == XML_HTML_DOCUMENT_NODE) |
htmlDocDump(stdout, (htmlDocPtr) node); |
htmlDocDump(stdout, (htmlDocPtr) node); |
else |
else |
htmlNodeDump(stdout, ctxt->doc, node); |
htmlNodeDumpFile(stdout, ctxt->doc, node); |
} else { |
} else { |
if (node->type == XML_DOCUMENT_NODE) |
if (node->type == XML_DOCUMENT_NODE) |
xmlDocDump(stdout, (xmlDocPtr) node); |
xmlDocDump(stdout, (xmlDocPtr) node); |