Subject: Re: [xsl] Re: sum() over attributes is 0 From: "G. Ken Holman" <gkholman@xxxxxxxxxxxxxxxxxxxx> Date: Wed, 22 Aug 2007 17:11:16 -0300 |
I'm only subscribed to the digest, so I'm responding to my own message and hope it will end in the same thread.
Ken:
I'm using Java1.4.2 and according to the release notes that entails "... xalan-j 2.4.1+ (Xalan version 2.4.1 with controlled
bug fixes)."
<xsl:comment> <xsl:text>count: </xsl:text> <xsl:value-of select="count(//lc:container[lc:item]/@select)"/> </xsl:comment>
<!--count: 0-->
but both count(lc:container[lc:item]/@select) and count(.//lc:container[lc:item]/@select) work.
What would be the issue with using count(//lc:container[lc:item]/@select)?
-- 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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] Re: sum() over attributes is , Andreas Kemkes | Thread | Re: [xsl] Re: sum() over attributes, David Carlisle |
RE: [xsl] Selecting First Direct Si, Wasiq Shaikh | Date | Re: [xsl] Re: sum() over attributes, David Carlisle |
Month |