Learn R Programming

bodsr (version 0.1.0)

count_nodes: 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)

Value

Returns a numeric count value

Arguments

x

An xml object

xpath

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