xml_set_namespace: Set the node's namespace

View source: R/xml_modify.R

xml_set_namespaceR Documentation

Set the node's namespace

Description

The namespace to be set must be already defined in one of the node's ancestors.

Usage

xml_set_namespace(.x, prefix = "", uri = "")

Arguments

.x

a node

prefix

The namespace prefix to use

uri

The namespace URI to use

Value

the node (invisibly)


hadley/xml2 documentation built on Jan. 10, 2024, 3:52 p.m.