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

# rdfGetElementFromResource(3)

Returns the element with the specified resource.

## NAME

rdfGetElementFromResource - Returns the element with the specified resource.

## SYNOPSIS

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

**RdfElement \*rdfGetElementFromResource(RdfContainer \*container,** **const char \*resource);**

## NOTES

This function is deprecated, and will be removed in a future release. Please use **rdfFindElementWithResource(3)** instead.

## SEE ALSO

rdfFindElementWithResource(3)
