Main Page   Modules   Namespace List   Data Structures   File List   Data Fields   Examples  

DomElement.h

00001 /*
00002  * libsgml -- SGML state machine parsing library.
00003  *                                                                  
00004  * Copyright (c) 2002 Uninformed Research (http://www.uninformed.org)
00005  * All rights reserved.
00006  *
00007  * skape
00008  * [email protected]
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

Generated on Tue Mar 25 19:49:04 2003 for libsgml by doxygen1.3-rc3