[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: 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/
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|