W3C home > Mailing lists > Public > public-qt-comments@w3.org > November 2003

Need of another function, any()

From: Mukul Gandhi <mukulgw3@yahoo.com>
Date: Mon, 10 Nov 2003 07:32:57 -0800 (PST)
Message-ID: <20031110153257.41811.qmail@web20701.mail.yahoo.com>
To: public-qt-comments@w3.org

Hello,
  I am feeling the need of a built-in function, any()
in XSLT..

please look, at the following e.g.

<xsl:for-each select="x-path">
  <xsl:if test="./@a='1' = any()/@='1'">
  </xsl:if>
</xsl:for-each>

any() function, would match to any node in the
preceding-sibling::, and following-sibling::  *axis*

any() function, would be equivalant to 
(preceding-sibling:: or self:: or following-sibling::
) 

I am wondering, if this might be appropriate ??

Regards,
Mukul


__________________________________
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
http://antispam.yahoo.com/whatsnewfree
Received on Monday, 10 November 2003 21:56:27 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:14:28 GMT