More work on xslt analysis of payments.