[Home] [By Thread] [By Date] [Recent Entries]
Slava Sedov wrote:
<xsl:template match="item[@xlink:type='simple']"> <a><xsl:attribute name="href"><xsl:value-of select="@xlink:href"/></xsl:attribute><xsl:value-of select="."/></a> </xsl:template>
You can explicitly assign priority to a template, but I think more safe and robust approach will be using modes: <xsl:template match="item[@xlink:type='simple']">
<a href="{@xlink:href}">
<xsl:apply-templates select="." mode="proccess-me-again"/>
</a>
</xsl:template><xsl:template match="item" mode="proccess-me-again"> ... </xsl:template> -- Oleg Tkachenko Multiconn International, Israel XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|

Cart



