Reference

rdfGetElementType(3)

Returns the type of the specified element.

NAME

rdfGetElementType - Returns the type of the specified element.

SYNOPSIS

#include <gnurdf.h>

int rdfGetElementType(RdfElement *element);

PARAMETERS

element

The element.

DESCRIPTION

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.

SEE ALSO

rdfGetElementNamespace(3), rdfGetElementPropertyName(3), rdfGetElementResource(3), rdfGetElementSchema(3), rdfGetElementValue(3), rdfSetElementResource(3), rdfSetElementValue(3)