version 1.4, 1999/09/20 12:23:02
|
version 1.5, 1999/09/30 15:43:35
|
Line 41 static int copy = 0;
|
Line 41 static int copy = 0;
|
|
|
/* |
/* |
* Note: this is perfectly clean HTML, i.e. not a useful test. |
* Note: this is perfectly clean HTML, i.e. not a useful test. |
static CHAR buffer[] = |
static xmlChar buffer[] = |
"<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0 Transitional//EN\"\n\ |
"<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0 Transitional//EN\"\n\ |
\"http://www.w3.org/TR/REC-html40/loose.dtd\">\n\ |
\"http://www.w3.org/TR/REC-html40/loose.dtd\">\n\ |
<html>\n\ |
<html>\n\ |
Line 96 void parseAndPrintFile(char *filename) {
|
Line 96 void parseAndPrintFile(char *filename) {
|
xmlFreeDoc(doc); |
xmlFreeDoc(doc); |
} |
} |
|
|
void parseAndPrintBuffer(CHAR *buf) { |
void parseAndPrintBuffer(xmlChar *buf) { |
htmlDocPtr doc, tmp; |
htmlDocPtr doc, tmp; |
|
|
/* |
/* |