find_node_level: Find the level of the current node releative to the document

View source: R/utils.R

find_node_levelR Documentation

Find the level of the current node releative to the document

Description

Find the level of the current node releative to the document

Usage

find_node_level(node)

Arguments

node

an XML node object

Value

a number indicating how nested the current node is. 0 represents the document itself, 1 represents all child elements of the document, etc.


zkamvar/up2code documentation built on Feb. 24, 2025, 7:32 a.m.