xsl-list
[Top] [All Lists]

Why template match differs?

2003-12-11 10:00:33
Hi all,

What is the different between following two statements?

When I use link//llnode template I get the exact tree view.
When I use link                 template I always the value of clicked
name in the next page as well.

Any idea?


<xsl:template match="link//llnode" mode="yyy">
 <xsl:for-each select="*">
 ..some action..
 </xsl:for-each>
</xsl:template>

<xsl:template match="link" mode="yyy">
 <xsl:for-each select="//llnode">
 ..some action..
 </xsl:for-each>
</xsl:template>

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



<Prev in Thread] Current Thread [Next in Thread>