[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: sum() over attributes is 0
You don't mention which processor you are using but certainly the
surface evidence looks like a bug.
Which tool are you using and what do you get with the following change? <xsl:comment> <xsl:text>count: </xsl:text> <xsl:value-of select="count(//lc:container[lc:item]/@select)"/> </xsl:comment> <xsl:comment> <xsl:text>list of select attributes: </xsl:text> <xsl:for-each select="//lc:container[lc:item]/@select"> <xsl:value-of select="."/> <xsl:text> </xsl:text> </xsl:for-each> </xsl:comment> The above will address the nodes using the same address that is being used for the sum function. Have you tried your code with any other processors? . . . . . . . . . . Ken At 2007-08-21 16:33 -0700, Andreas Kemkes wrote: I'm not having much success using the sum() function over a node set. -- Upcoming public training: XSLT/XSL-FO Sep 10, UBL/code lists Oct 1 World-wide corporate, govt. & user group XML, XSL and UBL training RSS feeds: publicly-available developer resources and training G. Ken Holman mailto:gkholman@xxxxxxxxxxxxxxxxxxxx Crane Softwrights Ltd. http://www.CraneSoftwrights.com/s/ Box 266, Kars, Ontario CANADA K0A-2E0 +1(613)489-0999 (F:-0995) Male Cancer Awareness Jul'07 http://www.CraneSoftwrights.com/s/bc Legal business disclaimers: http://www.CraneSoftwrights.com/legal
|
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
|