[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

[xsl] Why template match differs?


Subject: [xsl] Why template match differs?
From: "SHEIKH Sajjad" <Sajjad.SHEIKH@xxxxxxxxxxx>
Date: Thu, 11 Dec 2003 18:00:33 +0100

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



Current Thread