Apply the CSS to the given HTML, storing the result as inline 'style' tags on each element

css_apply_inline(xml, css)

Arguments

xml

html/xml document (as read by xml2::read_xml())

css

CSS stylesheet to apply (as read by cssparser::read_css())

Value

new xml document with final computed CSS written to inline style attribute on each element.