xml_extract {refdb}R Documentation

Extract XML elements

Description

Combine xml_find_first and xml_text to extract elements.

Usage

xml_extract(x, xpath)

Arguments

x

A document, node, or node set.

xpath

A string containing a xpath expression.

Value

A character vector, the same length as x.


[Package refdb version 0.1.1 Index]