<!---->
<
xsl:
stylesheet xmlns:xsl="
http://www.w3.org/1999/XSL/Transform"
xmlns:xs="
http://www.w3.org/2001/XMLSchema"
xmlns:tps="
http://www.typefi.com/ContentXML"
xmlns:xd="
http://www.pnp-software.com/XSLTdoc"
version="
2.0"
exclude-result-prefixes="
#all">
<
xd:
doc type="
stylesheet">
<
xd:
short>
Contains templates in "<
code>
pre-processing</
code>
" mode that perform preliminary JATS-to-JATS conversion.
</
xd:
short>
<
xd:
detail>
This mode is designed to make preparatory changes to JATS content,
such as triggering paragraph breakup and conversion of XHTML tables to CALS format.
</
xd:
detail>
<
xd:
cvsId>
$Revision$</
xd:
cvsId>
</
xd:
doc>
<
xsl:
template match="
element()[tps:is-broken(.)]"
mode="
pre-processing">
<
xsl:
call-template name="
apply-break-up" />
</
xsl:
template>
<
xsl:
template match="
table[not(tps:is-cals-table(.))]"
mode="
pre-processing">
<
xsl:
apply-templates select="
."
mode="
xhtml-to-cals" />
</
xsl:
template>
<
xsl:
template match="
th | td"
mode="
pre-processing">
<
xsl:
apply-templates mode="
#current" />
</
xsl:
template>
</
xsl:
stylesheet>
v