count_nodes: Search an xml file for a specific named node and count the...

View source: R/utils.R

count_nodesR Documentation

Search an xml file for a specific named node and count the number of instances

Description

Search an xml file for a specific named node and count the number of instances

Usage

count_nodes(x, xpath)

Arguments

x

An xml object

xpath

string. The node name to search for within the xpath.

Value

Returns a numeric count value


bodsr documentation built on Feb. 16, 2023, 8:44 p.m.