00001
00002
00003
00004
00005
00006
00007
00008
00009
00022 #ifndef _LIBSGML_DOMELEMENT_H
00023 #define _LIBSGML_DOMELEMENT_H
00024
00025 #ifdef __cplusplus
00026 extern "C" {
00027 #endif
00028
00029 #include "DomNode.h"
00030
00036 #define DOM_ELEMENT DOM_NODE
00037
00044 DOM_ELEMENT *domElementNew(const char *name);
00050 void domElementDestroy(DOM_ELEMENT *element);
00051
00059 void domElementSetAttribute(DOM_ELEMENT *element, const char *name, const char *value);
00071 void domElementSetAttributeVariant(DOM_ELEMENT *element, const char *name, enum VariantType type, void *value, unsigned long valueSize);
00072
00080 const char *domElementGetAttribute(DOM_ELEMENT *element, const char *name);
00091 void *domElementGetAttributeVariant(DOM_ELEMENT *element, const char *name, enum VariantType type);
00092
00099 void domElementUnsetAttribute(DOM_ELEMENT *element, const char *name);
00100
00108 const char *domElementEnumAttributes(DOM_ELEMENT *element, unsigned long index);
00109
00114 #ifdef __cplusplus
00115 }
00116 #endif
00117
00118 #endif