| Gnome XML Library Reference Manual | |||
|---|---|---|---|
| <<< Previous Page | Home | Up | Next Page >>> |
#define HTML_TEXT_NODE #define HTML_ENTITY_REF_NODE #define HTML_COMMENT_NODE void htmlDocDumpMemory (xmlDocPtr cur, xmlChar **mem, int *size); void htmlDocDump ( |
void htmlDocDumpMemory (xmlDocPtr cur, xmlChar **mem, int *size); |
Dump an HTML document in memory and return the xmlChar * and it's size. It's up to the caller to free the memory.
| cur : | the document |
| mem : | OUT: the memory pointer |
| size : | OUT: the memory lenght |
void htmlDocDump ( |
Dump an HTML document to an open FILE.
| f : | the FILE* |
| cur : | the document |
int htmlSaveFile (const char *filename,
xmlDocPtr cur); |
Dump an HTML document to a file.
| filename : | the filename |
| cur : | the document |
| Returns : | the number of byte written or -1 in case of failure. |