Learn R Programming

nonmemica (version 1.0.8)

xpath.xml_document: Evaluate xpath Expression in Document Context

Description

Evaluates an xpath expression for a given document.

Usage

# S3 method for xml_document
xpath(x, xpath, ...)

Value

vector

Arguments

x

xml_document

xpath

xpath expression to evaluate

...

ignored

Details

The resulting nodeset is scavenged for text, and coerced to best of numeric or character.

See Also

Other xpath: as.xml_document.character(), as.xml_document.numeric(), as.xml_document(), xpath.default(), xpath()