Browse Source

<h1> and <h2> can contain sub-nodes (especially <latin>)

svn path=/trunk/; revision=15851
tags/stw2018
Reinhard Müller 9 years ago
parent
commit
94d5365084
2 changed files with 4 additions and 4 deletions
  1. 2
    2
      about/printable/mk-tex-a3.xsl
  2. 2
    2
      about/printable/mk-tex-a4.xsl

+ 2
- 2
about/printable/mk-tex-a3.xsl View File

@@ -100,13 +100,13 @@

<xsl:template match="h1">
<xsl:text>\section{</xsl:text>
<xsl:value-of select="node()"/>
<xsl:apply-templates select="node()"/>
<xsl:text>}</xsl:text>
</xsl:template>
<xsl:template match="h2">
<xsl:text>\subsection{</xsl:text>
<xsl:value-of select="node()"/>
<xsl:apply-templates select="node()"/>
<xsl:text>}</xsl:text>
</xsl:template>

+ 2
- 2
about/printable/mk-tex-a4.xsl View File

@@ -126,13 +126,13 @@

<xsl:template match="h1">
<xsl:text>\section{</xsl:text>
<xsl:value-of select="node()"/>
<xsl:apply-templates select="node()"/>
<xsl:text>}</xsl:text>
</xsl:template>
<xsl:template match="h2">
<xsl:text>\subsection{</xsl:text>
<xsl:value-of select="node()"/>
<xsl:apply-templates select="node()"/>
<xsl:text>}</xsl:text>
</xsl:template>

Loading…
Cancel
Save