xsl-list
[Top] [All Lists]

understanding key usage

2004-11-22 05:25:04
Hi,

is there a difference between the following?

<xsl:key name="dkey" match="B" use="key"/>
  <xsl:for-each select="value/B[generate-id()= 
generate-id(key('dkey','USD')[1])]">

and 

<xsl:for-each select="value/dovizler[key='USD']">

in my opinion, both of these correspod to B elements whose 'key' values are 
equal to 'USD'.

any ideas?
regards.

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



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