go-libxml-extras

go-libxml-extras

Synopsis

xmlDocPtr           go_xml_parse_file                   (const char *filename);
void                go_xml_out_add_color                (GsfXMLOut *out,
                                                         char const *id,
                                                         GOColor c);

Description

Details

go_xml_parse_file ()

xmlDocPtr           go_xml_parse_file                   (const char *filename);

Like xmlParseFile, but faster. Does not accept compressed files. See http://bugzilla.gnome.org/show_bug.cgi?id=168414

Note: this reads the entire file into memory and should therefore not be used for user-supplied files.

filename :

the locale path to a file to parse.

Returns :

A libxml2 xmlDocPtr or NULL.

go_xml_out_add_color ()

void                go_xml_out_add_color                (GsfXMLOut *out,
                                                         char const *id,
                                                         GOColor c);

out :

id :

c :