View source: R/xml_get_paths.R
xml_get_paths | R Documentation |
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).
xml_get_paths(doc, mark_terminal = ifelse(only_terminal_parent, ">>", ""),
only_terminal_parent = FALSE)
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 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.