xml_val: Get XML values

View source: R/eml2eal.R

xml_valR Documentation

Get XML values

Description

Get XML values

Usage

xml_val(nodeset, xpath)

Arguments

nodeset

(xml_node/xml_nodeset) Nodeset

xpath

(character) xpath

Details

Simplifies code by wrapping cnvmt(xml2::xml_text(xml2::xml_find_all(...), trim = T))

Value

(character) Value of xpath within nodeset. Returns "" if returned character string has length = 1.


EDIorg/emlAssemblyLine documentation built on Nov. 4, 2022, 11:59 p.m.