xattr: Extract the attributes of XML nodes

Description Usage Arguments

Description

Extract the attributes of XML nodes

Usage

1
xattr(doc, path, name, as = "character", default = NA_character_, ...)

Arguments

doc

An object of class XMLInternalDocument.

path

An XPath expression.

name

Name of the attribute to be extracted.

as

Mode of return value (character, integer, numeric).

default

Default return value.

...

Arguments passed to xpathApply.


reutils documentation built on May 1, 2019, 9:15 p.m.