summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/latex-web-companion/ch7/makesum.xsl
blob: 807430ab9655e6cddfddd2eebac3e22df13e138c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<xsl:stylesheet xmlns:xsl="http://www.w3.org/TR/WD-xsl" default-space="strip">

<xsl:template match="makesum">
  <xsl:invoke classid="java:com.jclark.xsl.sax.TextFileOutputFilter">
    <xsl:arg name="file" value="sum.out"/>
    <xsl:invoke classid="java:com.jclark.xsl.sax.TotalFilter">
      <xsl:apply-templates/>
    </xsl:invoke>
  </xsl:invoke>
</xsl:template>

<xsl:template match="real">
  <number><xsl:apply-templates/></number>
</xsl:template>

</xsl:stylesheet>