00001 00023 #ifndef _LIBGNURDF_ATTRIBUTES_H_ 00024 #define _LIBGNURDF_ATTRIBUTES_H_ 00025 00026 #include <libgnurdf/types.h> 00027 00028 #ifdef __cplusplus 00029 extern "C" { 00030 #endif 00031 00039 void rdfSetAttribute(RdfElement *element, const char *attname, 00040 const char *value); 00041 00052 char *rdfGetAttribute(RdfElement *element, const char *attname); 00053 00062 void rdfSetNsAttribute(RdfElement *element, const char *attname, 00063 const char *value, RdfNamespace *ns); 00064 00076 char *rdfGetNsAttribute(RdfElement *element, const char *attname, 00077 RdfNamespace *ns); 00078 00079 #ifdef __cplusplus 00080 } 00081 #endif 00082 00083 #endif /* _LIBGNURDF_ATTRIBUTES_H_ */ 00084