[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

weird key-nodeset behavior

Subject: [xsl] weird key-nodeset behavior
From: Osman Çınar Eren <Cinar.Eren@xxxxxxxxxxxxx>
Date: Thu, 25 Nov 2004 17:40:51 +0200
 weird key-nodeset behavior
hi,

i asked several questions on key usage, but i could not get an answer for most
of them. I worked on my code for hours.
and at the moment i can say that i have the following problem:
-i try to do a grouping.
-if i try to group on all elements with the key definition, it works, e.g.:
<xsl:for-each select="//dovizler[generate-id(.) =
generate-id(key('dkey',key)[1])]">
-but if i try to do the grouping on a nodeset, it does not work, e.g.:
<xsl:for-each select="$mydovizler[generate-id(.) =
generate-id(key('dkey',key)[1])]"> where $mydovizler is a nodeset composed of
'dovizler' elements.

i am really stuck.

any ideas?
regards...

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.