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.


gschofl/reutils documentation built on May 17, 2019, 8:54 a.m.