addNameSpace: Add a namespace to the repository

Description Usage Arguments Value Examples

Description

Add a namespace for the current user in this repository

Usage

1
addNameSpace(repository, prefix, nsURI)

Arguments

repository

Object of type repository specifying server details and repository to work on.

prefix

Prefix

nsURI

Namespace URI

Value

ag put object that states whether or not push was successful (invisible)

Examples

1
2
3
4
5
6
7
## Not run: 
service = service("localhost","user","password")
rep = repository(catalog(service,"root"),"test")
addNameSpace(service,catalogid = "root",repo = "testRepo",prefix = "foaf",
nsURI = "http://xmlns.com/foaf/0.1/")

## End(Not run)

baasman/allegRo documentation built on May 11, 2019, 5:22 p.m.