|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: xlink implementation
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
|
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








