| Top |
| GQuark | fo_xml_doc_error_quark () |
| const LibfoVersionInfo * | fo_xml_doc_version_info () |
| FoXmlDoc * | fo_xml_doc_new_from_filename () |
| FoXmlDoc * | fo_xml_doc_new_from_memory () |
| FoXmlDoc * | fo_xml_doc_new_from_string () |
| FoXmlDoc * | fo_xml_doc_ref () |
| void | fo_xml_doc_unref () |
| gchar * | fo_xml_doc_get_base () |
| void | fo_xml_doc_set_base () |
GQuark
fo_xml_doc_error_quark (void);
Get the error quark for FoXmlDoc.
If the quark does not yet exist, create it.
FoXmlDoc * fo_xml_doc_new_from_filename (const gchar *filename,FoLibfoContext *libfo_context,GError **error);
Creates a new FoXmlDoc.
filename |
File or URL from which to create an FoXmlDoc. |
|
libfo_context |
FoLibfoContext with parameters affecting parsing. |
|
error |
Indication of any error that occurred. |
FoXmlDoc * fo_xml_doc_new_from_memory (const gchar *buffer,gint size,const gchar *URL,const gchar *encoding,FoLibfoContext *libfo_context,GError **error);
Creates a new FoXmlDoc.
buffer |
Pointer to a char array. |
|
size |
Size of the array. |
|
URL |
Base URL to use for the document. |
|
encoding |
The encoding of the document, or NULL. |
|
libfo_context |
FoLibfoContext with parameters affecting parsing. |
|
error |
Indication of any error that occurred. |
FoXmlDoc * fo_xml_doc_new_from_string (const gchar *curr,const gchar *URL,const gchar *encoding,FoLibfoContext *libfo_context,GError **error);
Creates a new FoXmlDoc.
curr |
Pointer to a zero-terminated string. |
|
URL |
Base URL to use for the document. |
|
encoding |
The encoding of the document, or NULL. |
|
libfo_context |
FoLibfoContext with parameters affecting parsing. |
|
error |
Indication of any error that occurred. |
void
fo_xml_doc_unref (FoXmlDoc *fo_xml_doc);
Unref and possibly free a FoXmlDoc.