powered by
Evaluates an xpath expression.
Coerces x to xml_document and evaluates.
Evaluates an xpath expression for a given document.
xpath(x, ...)# S3 method for default xpath(x, ...)# S3 method for xml_document xpath(x, xpath, ...)
# S3 method for default xpath(x, ...)
# S3 method for xml_document xpath(x, xpath, ...)
xml_document
passed arguments
xpath expression to evaluate
vector
default: default method
default
xml_document: xml_document method
The resulting nodeset is scavenged for text, and coerced to best of numeric or character.
Other xpath: as.xml_document.numeric, as.xml_document
as.xml_document.numeric
as.xml_document
# NOT RUN { library(magrittr) options(project = system.file('project/model',package='nonmemica')) 1001 %>% xpath('//etashrink/row/col') # }
Run the code above in your browser using DataLab