xml_extract: Extract XML elements

View source: R/import_NCBI.R

xml_extractR 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.


refdb documentation built on Sept. 22, 2022, 5:07 p.m.