Gnome XML Library Reference Manual
<<< Previous Page | Home | Up | Next Page >>>

# HTMLtree

## Name

HTMLtree —

## Synopsis

    #define     HTML_TEXT_NODE
    #define     HTML_ENTITY_REF_NODE
    #define     HTML_COMMENT_NODE
    void        htmlDocDumpMemory               (xmlDocPtr cur,
                                                 xmlChar **mem,
                                                 int *size);
    void        htmlDocDump                     (FILE *f,
                                                 xmlDocPtr cur);
    int         htmlSaveFile                    (const char *filename,
                                                 xmlDocPtr cur);

## Description

## Details

### HTML_TEXT_NODE

    #define     HTML_TEXT_NODE

### HTML_ENTITY_REF_NODE

    #define     HTML_ENTITY_REF_NODE

### HTML_COMMENT_NODE

    #define     HTML_COMMENT_NODE

### htmlDocDumpMemory ()

    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` : |
`mem` : |
`size` : |

### htmlDocDump ()

    void        htmlDocDump                     (FILE *f,
                                                 xmlDocPtr cur);

Dump an HTML document to an open FILE.

`f` : |
`cur` : |

### htmlSaveFile ()

    int         htmlSaveFile                    (const char *filename,
                                                 xmlDocPtr cur);

Dump an HTML document to a file.

`filename` : |
`cur` : |
Returns : |

<<< Previous Page | Home | Up | Next Page >>>
HTMLparser | xpath