xpath.xml_document {nonmemica}R Documentation

Evaluate xpath Expression in Document Context

Description

Evaluates an xpath expression for a given document.

Usage

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

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.

Value

vector

See Also

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


[Package nonmemica version 1.0.8 Index]