rdfGetElementType3
Returns the type of the specified element.
Usage
#include <gnurdf.h>
int rdfGetElementType(RdfElement *element);
Parameters
element-
The element.
Overview
Returns the type of the specified element.
Returns
RDF_BAG if the property is an <RDF:Bag>.
RDF_SEQ if the property is an <RDF:Seq>.
RDF_ALT if the property is an <RDF:Alt>.
RDF_DESC if the property is an <RDF:Description>.
0 if the property is a normal property.
-1 if the property was not found.