xpath.xml_document: Evaluate xpath Expression in Document Context

View source: R/xpath.R

xpath.xml_documentR 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()


bergsmat/nonmemica documentation built on Sept. 15, 2023, 9:22 a.m.