
xml.parse-content.xpl Maven / Gradle / Ivy
Insert generated content from 'content' properties.
The 'content' properties of elements in the input must be declared in
css:content
attributes, and must conform to http://braillespecs.github.io/braille-css/#the-content-property. attr()
values must have already been evaluated.
For each element in the input with a css:content attribute, the content list in that
attribute is parsed and inserted in the output in place of the element's original
content. String values are evaluated to text. counter(), string(), target-counter(),
target-text(), target-string(), target-content(), flow() and leader() values and custom
function are inserted as css:counter, css:string, css:text, css:content, css:flow,
css:leader and css:custom-func elements.