OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help



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

[ Lists Home | Date Index | Thread Index ]

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


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS