Hello,
Sorry my last message was send to early.
I have one question. assume this snippet:
<books>
<book>
<column name="quantity">50</column>
<column name="status">available</column>
</book>
<book>
<column name="quantity">10</column>
<column name="status">available</column>
</book>
<book>
<column name="quantity">3</column>
<column name="status">lost</column>
</book>
</books>
Now I want to add all Quantity IF Status = "Available".
All sum is this: sum(books/book[(_at_)name="quantity"])
but how to add the Status = "Available" condition???
Thank you
--~------------------------------------------------------------------
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>
--~--