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

# rdfSetElementResource(3)

Sets an element's resource.

## NAME

rdfSetElementResource - Sets an element's resource.

## SYNOPSIS

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

**void rdfSetElementResource(RdfElement \*element, const char \*uri);**

## PARAMETERS

- **element**

  The element.

- **uri**

  The URI of the resource.

## DESCRIPTION

Sets the specified element's resource.

## RETURNS

Nothing.

## SEE ALSO

[rdfGetElementNamespace(3)](/man/rdfGetElementNamespace/3.md), [rdfGetElementPropertyName(3)](/man/rdfGetElementPropertyName/3.md), [rdfGetElementResource(3)](/man/rdfGetElementResource/3.md), [rdfGetElementType(3)](/man/rdfGetElementType/3.md), [rdfGetElementValue(3)](/man/rdfGetElementValue/3.md), [rdfSetElementValue(3)](/man/rdfSetElementValue/3.md)
