summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex4ht/xtpipes/docbook.4xt
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2008-09-21 00:25:20 +0000
committerKarl Berry <karl@freefriends.org>2008-09-21 00:25:20 +0000
commit86701f3ec21852c37ad9822d4c1d0cfb9fb55a4e (patch)
tree3a4e886eba96ce360ca75497978f6c30df10b492 /Master/texmf-dist/tex4ht/xtpipes/docbook.4xt
parenta1923be7512ba559b7ba917400f449866107c649 (diff)
tex4ht 1.0.2008_09_16_1413
git-svn-id: svn://tug.org/texlive/trunk@10669 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex4ht/xtpipes/docbook.4xt')
-rwxr-xr-xMaster/texmf-dist/tex4ht/xtpipes/docbook.4xt35
1 files changed, 32 insertions, 3 deletions
diff --git a/Master/texmf-dist/tex4ht/xtpipes/docbook.4xt b/Master/texmf-dist/tex4ht/xtpipes/docbook.4xt
index 903aaf4838b..816e67013a5 100755
--- a/Master/texmf-dist/tex4ht/xtpipes/docbook.4xt
+++ b/Master/texmf-dist/tex4ht/xtpipes/docbook.4xt
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE xtpipes SYSTEM "xtpipes.dtd" >
-<xtpipes preamble="yes" signature="docbook.4xt (2008-02-22-01:05)">
+<xtpipes preamble="yes" signature="docbook.4xt (2008-08-25-15:33)">
<sax content-handler="xtpipes.util.ScriptsManager"
lexical-handler="xtpipes.util.ScriptsManagerLH" >
<script element="ulink" >
@@ -35,6 +35,31 @@
</script>
<script element="tbody" >
+ <set name="dirt" >
+ <![CDATA[
+ <xsl:stylesheet version="1.0"
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ >
+ <xsl:output omit-xml-declaration = "yes" />
+
+ <xsl:template match=" row[
+ (count(child::entry) = 1)
+ and
+ ( normalize-space(child::entry[1]/child::para[1]/child::comment())
+ = 'dirt'
+ )
+]">
+</xsl:template>
+
+ <xsl:template match="*|@*|text()|comment()" >
+ <xsl:copy>
+ <xsl:apply-templates select="*|@*|text()|comment()" />
+ </xsl:copy>
+ </xsl:template>
+ </xsl:stylesheet>
+]]>
+
+ </set>
<set name="tbody" >
<![CDATA[
<xsl:stylesheet version="1.0"
@@ -60,14 +85,16 @@
preceding-sibling::*[1]
[ self::row[ not(@role) ] ]
and
- ( count(child::entry) = count(preceding-sibling::*[1]/child::entry))
+ ( count(child::entry)
+ = count(preceding-sibling::*[1]/child::entry))
]" />
<xsl:template match=" row[
not(@role)
and
following-sibling::*[1][ self::row[@role = 'cline'] ]
and
- ( count(child::entry) = count(following-sibling::*[1]/child::entry))
+ ( count(child::entry)
+ = count(following-sibling::*[1]/child::entry))
] ">
<xsl:copy>
<xsl:apply-templates select="@*" />
@@ -107,6 +134,8 @@
</set>
<xslt name="." xml="." xsl="tbody" />
+ <xslt name="." xml="." xsl="dirt" />
+ <dom name="." xml="." method="cline" class="tex4ht.DbUtilities" />
</script>
</sax>