Top | ![]() |
![]() |
![]() |
![]() |
GXmlImplementationGXmlImplementation — Describes the features available in this implementation of the DOM. |
#define | GXML_TYPE_IMPLEMENTATION |
struct | GXmlImplementation |
struct | GXmlImplementationClass |
This can be accessed from a GXmlxDocument object. Provided a possible feature and the feature's version, it can tell the client whether it is here implemented.
Version: DOM Level 1 Core
URL: http://www.w3.org/TR/REC-DOM-Level-1/level-one-core.html#ID-102161490
GXmlxDocument * gxml_implementation_create_document (GXmlImplementation *self
,const gchar *namespace_uri
,const gchar *qualified_name
,GXmlxDocumentType *doctype
);
Creates a xDocument according to this GXmlImplementation.
Version: DOM Level 3 Core URL: http://www.w3.org/TR/DOM-Level-3-Core/core.html#Level-2-Core-DOM-createDocument
self |
the GXmlImplementation instance |
|
namespace_uri |
. URI for the namespace in which this xDocument belongs, or . |
[in][allow-none] |
qualified_name |
. A qualified name for the xDocument, or . |
[in][allow-none] |
doctype |
. The type of the document, or . |
[in][allow-none] |
gboolean gxml_implementation_has_feature (GXmlImplementation *self
,const gchar *feature
,const gchar *version
);
Reports whether we support a feature at a given version level.
Version: DOM Level 1 Core URL: http://www.w3.org/TR/REC-DOM-Level-1/level-one-core.html#method-hasFeature
TODO: implement more of this, using libxml2's parser.h's xmlGetFeature, xmlHasFeature, etc.
self |
the GXmlImplementation instance |
|
feature |
. A feature we might support, usually something like 'xml' or 'html' . |
[in] |
version |
. A possible version of the feature, or . |
[in][allow-none] |
#define GXML_TYPE_IMPLEMENTATION (gxml_implementation_get_type ())
The type for GXmlImplementation.
struct GXmlImplementation { GObject parent_instance; GXmlImplementationPrivate * priv; };
Describes the features available in this implementation of the DOM.
This can be accessed from a GXmlxDocument object. Provided a possible feature and the feature's version, it can tell the client whether it is here implemented.
Version: DOM Level 1 Core
URL: http://www.w3.org/TR/REC-DOM-Level-1/level-one-core.html#ID-102161490
struct GXmlImplementationClass { GObjectClass parent_class; };
The class structure for GXML_TYPE_IMPLEMENTATION
. All the fields in this structure are private and should never be accessed directly.