xpath) of the final computed style for each elementR/apply-style.R
css_apply.RdCreate a named list (indexed by xpath) of the final computed style for each element
css_apply(xml, css = list(), svg = FALSE)
| xml | xml document as returned by |
|---|---|
| css | list of rules parsed from CSS stylesheet. E.g as returned
by |
| svg | include SVG presentation tags in the cascade? default: FALSE |
named list of styles where the name is the xpath to a
node in the document, and the value is a named list of
property/values for this element.