Reference

rdfGetElementResource(3)

Returns an element's resource.

NAME

rdfGetElementResource - Returns an element's resource.

SYNOPSIS

#include <gnurdf.h>

char *rdfGetElementResource(RdfElement *element);

PARAMETERS

The element containing the resource.

DESCRIPTION

Returns the specified element's resource.

RETURNS

The element's resource. This must be freed when no longer in use.

If the element does not have a resource, this will return NULL.

SEE ALSO

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