Step css-parse-content {http://www.daisy.org/ns/pipeline/xproc}

Insert generated content from 'content' properties.

Defined in: http://www.daisy.org/pipeline/modules/braille/css-utils/library.xpl

Input Ports

Port Description
source primary

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.

Output Ports

Port Description
result primary

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.