|
Subject: Re: [xsl] How to count elments which have specific sub element From: "G. Ken Holman" <gkholman@xxxxxxxxxxxxxxxxxxxx> Date: Thu, 10 May 2012 11:57:33 -0400 |
Hi
<elements>
....
<TaxTotal>
<otherAmount>22.00</otherAmount>
</TaxTotal>
.......
<TaxTotal>
<otherAmount>90.00</otherAmount>
</TaxTotal>
<TaxTotal>
.....
<Amount>44.00</Amount>
</TaxSubtotal>
</TaxTotal>
<TaxTotal>
.....
<Amount>10.00</Amount>
</TaxSubtotal>
</TaxTotal>
......
</elements>
---------------------
How can I count ONLY the TaxTotal elements which HAS Amount
I tried Count(TaxTotal/cbc:RoundingAmount) but it is wrong as expctted!
??
-- Public XSLT, XSL-FO, UBL and code list classes in Europe -- Oct 2012 Contact us for world-wide XML consulting and instructor-led training Free 5-hour lecture: http://www.CraneSoftwrights.com/links/udemy.htm Crane Softwrights Ltd. http://www.CraneSoftwrights.com/s/ G. Ken Holman mailto:gkholman@xxxxxxxxxxxxxxxxxxxx Google+ profile: https://plus.google.com/116832879756988317389/about Legal business disclaimers: http://www.CraneSoftwrights.com/legal
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Re: [xsl] How to count elments whi, Martin Honnen | Thread | Re: [xsl] How to count elments whi, henry human |
| Re: [xsl] How to count elments whi, Martin Honnen | Date | Re: [xsl] Get the first Array eleme, henry human |
| Month |