<
xsl:stylesheet xmlns:xsl=
"http://www.w3.org/1999/XSL/Transform" xmlns:dtb=
"http://www.daisy.org/z3986/2005/dtbook/" version=
"2.0" exclude-result-prefixes=
"dtb">
<
xsl:include href=
"recursive-copy.xsl"/>
<
xsl:include href=
"output.xsl"/>
<
xsl:template match=
"*[(self::dtb:li or self::dtb:p) and dtb:pagenum and not(parent::dtb:td) and count( node()[ (self::text() and normalize-space()='') or self::dtb:pagenum or self::comment() or self::processing-instruction() ] )=count(node()) ]">
<
xsl:apply-templates/>
</
xsl:template>
</
xsl:stylesheet>