|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] ambiguous templates
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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








