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)


xml2 documentation built on May 29, 2024, 1:28 a.m.