summary in xsl-region-end based on xsl-region-body
Posted: Fri Feb 03, 2012 8:33 pm
Hi all,
I have a pdf statement listing transactions in a table in my body of my document, each balance has a name and the table is produced for each balance name with a listing of the transactions relating to that balance name.I create a new page when the balance name changes. All this is fine. My problem is that I have a static content in the region-end(top right). This is to be my summary block giving a total of the transactions in/out etc. Now I don't need to compute this in my xsl because it is in my xml. When my statement only has one balance, my summary in the region-end is fine as I just select out STATEMENT/BALANCES/BALANCE_NAME/TOTAL_IN etc.., knowing that I only have one balance to summarise. However, when my statement spans multiple balances,e.g savings one, savings two, I need this summary to change to reflect the change in balance name. Can this be done? how can my region-end summary find out what part of my xml to process based on the xml that my table is showing at the time?
I hope someone can help.
Thanks,
COlm
I have a pdf statement listing transactions in a table in my body of my document, each balance has a name and the table is produced for each balance name with a listing of the transactions relating to that balance name.I create a new page when the balance name changes. All this is fine. My problem is that I have a static content in the region-end(top right). This is to be my summary block giving a total of the transactions in/out etc. Now I don't need to compute this in my xsl because it is in my xml. When my statement only has one balance, my summary in the region-end is fine as I just select out STATEMENT/BALANCES/BALANCE_NAME/TOTAL_IN etc.., knowing that I only have one balance to summarise. However, when my statement spans multiple balances,e.g savings one, savings two, I need this summary to change to reflect the change in balance name. Can this be done? how can my region-end summary find out what part of my xml to process based on the xml that my table is showing at the time?
I hope someone can help.
Thanks,
COlm