Learn R Programming

reutils (version 0.2.2)

xname: Extract the tag name of XML nodes

Description

Extract the tag name of XML nodes

Usage

xname(doc, path, as = "character", default = NA_character_, ...)

Arguments

doc
An object of class XMLInternalDocument.
path
An XPath expression.
as
Mode of return value (character, integer, numeric).
default
Default return value.
...
Arguments passed to xpathApply.