---
name: "rdfSetElement"
section: "3"
platform: "linux"
package: "libgnurdf-dev"
version: "0.3.0-3"
release: "Debian 3.0 (Woody)"
platforms: ["linux"]
url: "https://new.carta.tech/rdfSetElement"
---

# rdfSetElement(3)

Sets the element of a property in an RDF description.

## NAME

rdfSetElement - Sets the element of a property in an RDF description.

## SYNOPSIS

**#include \<gnurdf.h\>**

**RdfElement \*rdfSetElement(RdfDescription \*desc, const char \*property,** **RdfNamespace \*ns, RdfElement \*element);**

## PARAMETERS

- **desc**

  The description which will hold the property.

- **property**

  The name of the property.

- **ns**

  The namespace of the property.

- **element**

  The property's element.

## DESCRIPTION

Sets the element of a property in an RDF description.

## RETURNS

The new property's element.

## SEE ALSO

rdfGetProperty(3), [rdfRemoveProperty(3)](/rdfRemoveProperty/3.md), rdfSetProperty(3)
