Hi again! I'm back with a small suggestion. I've run into a bit of an issue doing something like this: <xsl:value-of select="sum(ledger/entry/en.transactions/transaction/ tr.cost/value/amount/quantity)"/>
The problem is, not all entries have a tr.cost when output via XML. In the console it's output. So I am assuming that there is no harm to do so in XML as well. It would make showing balances a lot easier. AFAIK, right now there is no way to sum up all the costs in this kind of situation: I'm billing per hour. I enter the hours and rates into the ledger. However, when I get paid, I just enter the amount of money. So the xml output for the record of received money is missing the tr.cost section. I hope that makes sense. Of course if there is a genius XSLT method for doing a sum with a conditional, that's kind of alright - a bit kludgy though. Also I wonder if it is better to output the actual amounts. For example, right now tr:cost is the product not the actual value. Then leave the multiplication for post processing (XSLT). Or maybe a command line switch for either behavior. I hope I'm making sense. Thanks for this great software!
