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

# rdfGetNamespace(3)

Returns the namespace with the specified URI.

## NAME

rdfGetNamespace - Returns the namespace with the specified URI.

## SYNOPSIS

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

**RdfNamespace \*rdfGetNamespace(RdfSchema \*schema, const char \*uri);**

## PARAMETERS

- **schema**

  The document schema.

- **uri**

  The URI of the namespace.

## DESCRIPTION

Returns the namespace with the specified URI.

## RETURNS

The namespace, or NULL if not found.

## SEE ALSO

[rdfNewNamespace(3)](/rdfNewNamespace/3.md), [rdfGetRdfNamespace(3)](/rdfGetRdfNamespace/3.md), [rdfGetNamespaceURI(3)](/rdfGetNamespaceURI/3.md), [rdfGetNamespacePrefix(3)](/rdfGetNamespacePrefix/3.md)
