xpath {nonmemica} | R 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')
[Package nonmemica version 1.0.8 Index]