Subject: RE: [xsl] Question about the key() function From: aspsa <aspsa@xxxxxxxxxxxxx> Date: Fri, 13 May 2005 19:32:44 -0400 |
Thanks. I'll submit a bug report. -----Original Message----- From: Michael Kay [mailto:mike@xxxxxxxxxxxx] Sent: Friday, May 13, 2005 7:07 PM To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx Subject: RE: [xsl] Question about the key() function > > One more point. I re-wrote the key() function within the > <xsl:apply-templates> element. > > Original > -------- > <xsl:apply-templates select="key('x',addressbook/address/zip)" /> > > Modified > -------- > <xsl:apply-templates select="addressbook/address[key('x', zip)]" /> > > This time it worked. Which means that your processor is correctly eliminating duplicates in the result of a path expression, but is incorrectly failing to remove them in the result of key(). Michael Kay http://www.saxonica.com/
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] Question about the key() , Michael Kay | Thread | RE: [xsl] Question about the key() , omprakash . v |
RE: [xsl] Question about the key() , Michael Kay | Date | [xsl] For-each loop or recursion, Oleg Konovalov |
Month |