<!---->
<
xsl:
stylesheet xmlns:xsl="
http://www.w3.org/1999/XSL/Transform"
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>
Reports XML elements which weren't transformed by JATS.core or applied customization</
xd:
short>
<
xd:
cvsId>
$Revision: 0 $</
xd:
cvsId>
</
xd:
doc>
<
xsl:
template match="
element()">
<
xsl:
call-template name="
unknown-element" />
</
xsl:
template>
<
xsl:
template name="
unknown-element">
<
xsl:
call-template name="
unknown-element-message" />
<
xsl:
next-match />
</
xsl:
template>
<
xsl:
template name="
unknown-element-message">
<
xsl:
call-template name="
display-warning">
<
xsl:
with-param name="
message">
<
xsl:
text>
Element not recognized: </
xsl:
text>
<
xsl:
copy copy-namespaces="
no">
<
xsl:
copy-of select="
attribute()" />
</
xsl:
copy>
</
xsl:
with-param>
</
xsl:
call-template>
</
xsl:
template>
</
xsl:
stylesheet>
v