GXmlHtmlDocument

GXmlHtmlDocument — HML parsing suport. Document handling

Functions

Types and Values

Description

Functions

gxml_html_document_new_from_path ()

GXmlHtmlDocument *
gxml_html_document_new_from_path (const gchar *path,
                                  gint options,
                                  GError **error);

Parameters

path

 

 

options

 

 

error

location to store the error occuring, or NULL to ignore

 

gxml_html_document_new_from_uri ()

GXmlHtmlDocument *
gxml_html_document_new_from_uri (const gchar *uri,
                                 gint options,
                                 GError **error);

Parameters

uri

 

 

options

 

 

error

location to store the error occuring, or NULL to ignore

 

gxml_html_document_new_from_file ()

GXmlHtmlDocument *
gxml_html_document_new_from_file (GFile *file,
                                  gint options,
                                  GCancellable *cancel,
                                  GError **error);

Parameters

file

 

 

options

 

 

cancel

 

 

error

location to store the error occuring, or NULL to ignore

 

gxml_html_document_new_from_string ()

GXmlHtmlDocument *
gxml_html_document_new_from_string (const gchar *html,
                                    gint options);

Parameters

html

 

 

options

 

 

gxml_html_document_new ()

GXmlHtmlDocument *
gxml_html_document_new (void);

gxml_html_document_get_default_options ()

gint
gxml_html_document_get_default_options
                               (void);

Get and return the current value of the "default-options" property.

Parameters

self

the GXmlHtmlDocument instance to query

 

Returns

the value of the "default-options" property

Types and Values

GXML_TYPE_HTML_DOCUMENT

#define GXML_TYPE_HTML_DOCUMENT (gxml_html_document_get_type ())

The type for GXmlHtmlDocument.


struct GXmlHtmlDocument

struct GXmlHtmlDocument {
	GXmlGDocument parent_instance;
	GXmlHtmlDocumentPrivate * priv;
};

HML parsing suport. Document handling


struct GXmlHtmlDocumentClass

struct GXmlHtmlDocumentClass {
	GXmlGDocumentClass parent_class;
};

The class structure for GXML_TYPE_HTML_DOCUMENT. All the fields in this structure are private and should never be accessed directly.

Members