Oxygen XML Editor
 
[XML-DEV Mailing List Archive Home] [By Thread] [By Date]

Re: [xml-dev] XSLT count() function and the UNION operator



aspsa wrote:

>

> <xsl:apply-templates mode="item-detail"
select="addressbook/address[count(.| key('x', zip)[1]=1]"/>

>
firstly, the predicate in the select statement is missing a parenthesis..

.| key('x', zip)[1]

part of the expression seems to be a bit strange as well...though w/o
seeing your xml and what u want to do, cant help more.

gl, Jim Fuller

 
© 2002-2008 SyncRO Soft Ltd. All rights reserved. | Sitemap | Privacy Policy
This website was created & generated with <oXygen/> XML Editor
Keywords
xml