jats-text.xsl

Contains conversion logic for text processing.
There is two feature for processing text:

Charachter mapping

For applying character and soft styles to certain symbols or unicode ranges.
There are two ways to use character re-mapping scheme: by specifying separate characters and corresponding mappings, and by declaring whole ranges of remapped characters. One can use @wrap attribute to insert any matched input character sequences in the element set by the variable.
@Example:
<range from="€"  to="Ā">
    <tps:style name="ABC"/>
</range>
<char values="′ሴ䌡">
    <tps:c type="TNR"/>
</char>
<char values="′"  wrap="true">
    <tps:c type="TNR"/>
</char>
Enables character mapping (see $character.mapping variable for the configuration)

text keeps processing


For mapping text to text.
Text keeps processing has a higher priority then character mapping. So, if $text.keeps.mapping.enabled is set to true(), the mentioned is not applied.
@Example:
<process>
    <action>
        <find text="Standard"/>
        <replace text=" "  with=" "/>
        <find arabic="yes"  roman="yes"/>
    </action>
</process>
CVS Id:
Revision
XSLT Version:
2.0
Namespace Prefix Summary:
tps - http://www.typefi.com/ContentXML
xd - http://www.pnp-software.com/XSLTdoc
xs - http://www.w3.org/2001/XMLSchema
xsl - http://www.w3.org/1999/XSL/Transform

Match Templates Summary

Named Templates Summary

Functions Summary

node()* tps:convert-to-nodes (param: item()* items) - source
text() tps:convert-to-text (param: xs:string string) - source
node()* tps:get-text-mapping-result (param: xs:string text) - source

Match Templates Detail

Named Templates Detail

Functions Detail

node()* tps:convert-to-nodes (param: item()* items) - source
Parameters:
item()* items -
text() tps:convert-to-text (param: xs:string string) - source
Parameters:
xs:string string -
node()* tps:get-text-mapping-result (param: xs:string text) - source
Parameters:
xs:string text -