How to format this footer?
Posted: Mon Aug 06, 2018 7:17 pm
Hi guys, I'm very new to XSLT and I have to a question on how to format my footer.
The footer row should contain two fields and are delimited with a "|"
The first field is the row count, has a fixed width of 10 characters, left align in the field will be word ‘COUNT’ (upper-case) while the numeric count of the records in the file must be right aligned.
The footer's second field should be a timestamp of the current date and time.
The footer suppose to look like this:
COUNT 5|2018-05-12T18:17:52.498-07:00
I added the footer myself and it is only showing the a numeric value of the number count. with no word "COUNT' in front of it, and I do not know how to add a timestamp either, could someone please help me with it?
I have my xslt written like this:
<Footer xtt:separator="|">
<COUNT xtt:number="totalCount"/>
</Footer>
Please help me on how to fix it to achieve the above effect, thanks.
The footer row should contain two fields and are delimited with a "|"
The first field is the row count, has a fixed width of 10 characters, left align in the field will be word ‘COUNT’ (upper-case) while the numeric count of the records in the file must be right aligned.
The footer's second field should be a timestamp of the current date and time.
The footer suppose to look like this:
COUNT 5|2018-05-12T18:17:52.498-07:00
I added the footer myself and it is only showing the a numeric value of the number count. with no word "COUNT' in front of it, and I do not know how to add a timestamp either, could someone please help me with it?
I have my xslt written like this:
<Footer xtt:separator="|">
<COUNT xtt:number="totalCount"/>
</Footer>
Please help me on how to fix it to achieve the above effect, thanks.