xml_get_paths: view the paths of xml tree. keeps order as one dives into...

Description Usage Arguments

Description

view the paths of xml tree. keeps order as one dives into each node. option to mark any terminal paths (paths that end on the last possible node).

Usage

1
2
xml_get_paths(doc, mark_terminal = ifelse(only_terminal_parent, ">>", ""),
  only_terminal_parent = FALSE)

Arguments

doc

an xml doc

mark_terminal

string used to mark terminal nodes. NULL by default.

only_terminal_parent

whether to return only the parent node of any terminal branch


dantonnoriega/xmltools documentation built on May 29, 2019, 4:51 p.m.