| 
 
Subject: ambiguous templates From: "Pollington, Lee (ELSLON)" <lee.pollington@xxxxxxxxxxxxx> Date: Tue, 7 Nov 2000 15:24:38 -0000  | 
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
| Current Thread | 
|---|
  | 
| <- Previous | Index | Next -> | 
|---|---|---|
| RE: how do I generate a reference t, Eckenberger Axel | Thread | Re: ambiguous templates, Jeni Tennison | 
| RE: AW: Encoded question, Kay Michael | Date | RE: Repeating something "n" times., Kay Michael | 
| Month |