xpath: Evaluate Xpath Expression

View source: R/xpath.R

xpathR Documentation

Evaluate Xpath Expression

Description

Evaluates an xpath expression.

Usage

xpath(x, ...)

Arguments

x

xml_document

...

passed arguments

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.xml_document()

Examples

library(magrittr)
options(project = system.file('project/model',package='nonmemica'))
1001 %>% xpath('//etashrink/row/col')

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