xsl-list
[Top] [All Lists]

Problem with count and predicates

2005-06-03 19:34:46
My brain must be on drugs.  I have a source doc of:

<stats>
 <month name="6" count="4842">
 <days>0</days>
 <days>0</days>
 <days>0</days>
 <days>1</days>
 <days>6</days>
 <days>-16</days>
 <days>3</days>
 <days>2</days>
 <days>3</days>
 <days>1</days>
...
</month>
 <month name="7" count="4537">
 <days>0</days>
 <days>4</days>
 <days>9</days>
 <days>1</days>
 <days>2</days>
 <days>0</days>
 <days>2</days>
 <days>0</days>
 <days>10</days>
 <days>1</days>
...
</month>
...
</stats>
I want to get the count of days that are > 2 for each month and have racked my brain. I think the chemo has kicked in. Please tell me how this is posible using 2.0

KS


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



<Prev in Thread] Current Thread [Next in Thread>