xml.eval-target-content.xpl Maven / Gradle / Ivy
Evaluate target-content() values.
target-content() values in the input must be represented by css:content
elements. Elements that are referenced by a target-content() value must be indicated
with a css:id attribute that matches the css:content element's target
attribute. Pseudo-elements must be represented by css:after, css:before, css:duplicate,
css:alternate and css:footnote-call elements.
css:content elements are replaced by the child nodes of their target element (the
element whose css:id attribute corresponds with the css:content element's target
attribute). Elements get a css:anchor attribute that matches the xml:id attribute of the
target element. Direct pseudo-elements of the target element are not copied. Style
attributes are added in the output in such a way that for each element, its computed
style at the output is equal to its computed style in the input.