jats-text.xsl
Contains conversion logic for text processing.
There is two feature for processing text:
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:
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:
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
Functions Summary
Functions Detail
Parameters:
item()* items -
Parameters:
xs:string string -
Parameters:
xs:string text -