R/apply-style.R
recurse_node_tree.RdDepth-first recursion into the HTML document node tree to accumulate/cascade styles
recurse_node_tree(node, xpath_styles, parent_style = list(), svg)
| node | current XML node |
|---|---|
| xpath_styles | list containing the accumulated styles for each xpath |
| parent_style | the style from the direct parent |
| svg | include SVG presentation tags in the cascade? default: FALSE |
updated xpath style lookup list