Hi,
The below gives me ambiguity error, fine. So how do I implement templates
that are increasing specialised?
tia
Lee
<!-- general section title -->
<xsl:template match="st">
<strong>
<xsl:apply-templates/>
</strong>
</xsl:template>
<!-- Section title -->
<xsl:template match="sec/st">
<strong>
<a name="section{parent::sec/no}">
<xsl:apply-templates/>
</a>
</strong>
</xsl:template>
<!-- Top level Section title -->
<xsl:template match="bdy/sec/st">
<font size="+1">
<strong>
<a name="section{parent::sec/no}">
<xsl:apply-templates/>
</a>
</strong>
</font>
</xsl:template>
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|