Andreas Delmelle-2 wrote:
> 
> Can you do us a favor, and re-run the test with a slight addition?
> see: http://xmlgraphics.apache.org/fop/faq.html#saxexception-mismatch
> 
> It will still fail, but it's very likely that, after adding the  
> ErrorListener override to the base Transformer used in your webapp,  
> the stack trace will be slightly more meaningful.
> 

In fact, I did do this, here is the code:

            // Set an error handler to log exceptions
            transformer.setErrorListener(new ErrorListener()
            {
               public void warning(TransformerException exc) throws
TransformerException
               {
                 
LogFactory.getLog(com.ppi.csr.web.actions.DisplayStatementAction.class).warn(exc.getMessage(),
exc);
               }

               public void error(TransformerException exc) throws
TransformerException
               {
                 
LogFactory.getLog(com.ppi.csr.web.actions.DisplayStatementAction.class).error(exc.getMessage(),
exc);
               }

               public void fatalError(TransformerException exc) throws
TransformerException
               {
                 
LogFactory.getLog(com.ppi.csr.web.actions.DisplayStatementAction.class).fatal(exc.getMessage(),
exc);
               }
            });


Let me clarify the steps I do to cause the problem:

1. Restart Tomcat
2. Log in to the web app and generate a PDF (PDF is streamed successfully to
my browser),
   however, I do see a couple of warnings in the log:

13:49:51,421  WARN RowPainter:120 - Replacing GU in slot 0. Some content may
not be painted.
13:49:51,421  WARN RowPainter:120 - Replacing GU in slot 1. Some content may
not be painted.
13:49:52,312  WARN StaticContentLayoutManager:246 - static-content overflows
the available area. (fo:static-content, "iAdvance, SM, from, MetaBank,
Statment Date:, 10/01/08, Page)

3. Use Tomcat manager to "reload" the app (or upload a new version of the
.WAR)
4. Log in to the web app and generate a PDF (PDF is not streamed, the
following error is logged):

15:51:41,203  WARN FOTreeBuilder:373 - Mismatch: page-sequence
(http://www.w3.org/1999/XSL/Format) vs. root
(http://www.w3.org/1999/XSL/Format)
15:51:41,328 ERROR FOTreeBuilder:229 -
javax.xml.transform.TransformerException: java.lang.NullPointerException
15:51:41,343 FATAL DisplayStatementAction:138 -
java.lang.NullPointerException
; SystemID: file:///F:/Tomcat%205.5/webapps/csr/docs/en/statement2fo.xsl
javax.xml.transform.TransformerException: java.lang.NullPointerException
        at
org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2416)
        at
org.apache.xalan.transformer.TransformerImpl.applyTemplateToNode(TransformerImpl.java:2281)
        at
org.apache.xalan.transformer.TransformerImpl.transformNode(TransformerImpl.java:1367)
        at
org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:709)
        at
org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:1284)
        at
org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:1262)
        at
com.ppi.csr.web.actions.DisplayStatementAction.execute(DisplayStatementAction.java:143)
        at
org.apache.struts.chain.commands.servlet.ExecuteAction.execute(ExecuteAction.java:58)
        at
org.apache.struts.chain.commands.AbstractExecuteAction.execute(AbstractExecuteAction.java:67)
        at
org.apache.struts.chain.commands.ActionCommandBase.execute(ActionCommandBase.java:51)
        at org.apache.commons.chain.impl.ChainBase.execute(ChainBase.java:190)
        at
org.apache.commons.chain.generic.LookupCommand.execute(LookupCommand.java:304)
        at org.apache.commons.chain.impl.ChainBase.execute(ChainBase.java:190)
        at
org.apache.struts.chain.ComposableRequestProcessor.process(ComposableRequestProcessor.java:283)
        at 
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913)
        at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:449)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
        at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
        at com.ppi.csr.web.SecurityFilter.doFilter(SecurityFilter.java:124)
        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
        at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
        at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
        at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
        at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:433)
        at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
        at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
        at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
        at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
        at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:200)
        at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:283)
        at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:773)
        at
org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:703)
        at
org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:895)
        at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
        at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.NullPointerException
        at
org.apache.log4j.helpers.PatternConverter.spacePad(PatternConverter.java:106)
        at
org.apache.log4j.helpers.PatternConverter.format(PatternConverter.java:82)
        at org.apache.log4j.PatternLayout.format(PatternLayout.java:503)
        at
com.ppi.commons.logging.SecurePatternLayout.format(SecurePatternLayout.java:46)
        at org.apache.log4j.WriterAppender.subAppend(WriterAppender.java:301)
        at
org.apache.log4j.DailyRollingFileAppender.subAppend(DailyRollingFileAppender.java:358)
        at org.apache.log4j.WriterAppender.append(WriterAppender.java:159)
        at org.apache.log4j.AppenderSkeleton.doAppend(AppenderSkeleton.java:230)
        at
org.apache.log4j.helpers.AppenderAttachableImpl.appendLoopOnAppenders(AppenderAttachableImpl.java:65)
        at org.apache.log4j.Category.callAppenders(Category.java:203)
        at org.apache.log4j.Category.forcedLog(Category.java:388)
        at org.apache.log4j.Category.log(Category.java:853)
        at 
org.apache.commons.logging.impl.Log4JLogger.warn(Log4JLogger.java:157)
        at
org.apache.fop.layoutmgr.table.RowPainter.handleTableContentPosition(RowPainter.java:120)
        at
org.apache.fop.layoutmgr.table.TableContentLayoutManager.handleMarkersAndPositions(TableContentLayoutManager.java:766)
        at
org.apache.fop.layoutmgr.table.TableContentLayoutManager.iterateAndPaintPositions(TableContentLayoutManager.java:739)
        at
org.apache.fop.layoutmgr.table.TableContentLayoutManager.addAreas(TableContentLayoutManager.java:694)
        at
org.apache.fop.layoutmgr.table.TableLayoutManager.addAreas(TableLayoutManager.java:334)
        at
org.apache.fop.layoutmgr.BlockLayoutManager.addAreas(BlockLayoutManager.java:393)
        at
org.apache.fop.layoutmgr.AreaAdditionUtil.addAreas(AreaAdditionUtil.java:118)
        at
org.apache.fop.layoutmgr.FlowLayoutManager.addAreas(FlowLayoutManager.java:297)
        at org.apache.fop.layoutmgr.PageBreaker.addAreas(PageBreaker.java:241)
        at
org.apache.fop.layoutmgr.AbstractBreaker.addAreas(AbstractBreaker.java:507)
        at
org.apache.fop.layoutmgr.AbstractBreaker.addAreas(AbstractBreaker.java:370)
        at org.apache.fop.layoutmgr.PageBreaker.doPhase3(PageBreaker.java:262)
        at
org.apache.fop.layoutmgr.AbstractBreaker.doLayout(AbstractBreaker.java:345)
        at
org.apache.fop.layoutmgr.AbstractBreaker.doLayout(AbstractBreaker.java:263)
        at
org.apache.fop.layoutmgr.PageSequenceLayoutManager.activateLayout(PageSequenceLayoutManager.java:144)
        at
org.apache.fop.area.AreaTreeHandler.endPageSequence(AreaTreeHandler.java:233)
        at
org.apache.fop.fo.pagination.PageSequence.endOfNode(PageSequence.java:145)
        at
org.apache.fop.fo.FOTreeBuilder$MainFOHandler.endElement(FOTreeBuilder.java:378)
        at org.apache.fop.fo.FOTreeBuilder.endElement(FOTreeBuilder.java:194)
        at
org.apache.xml.serializer.ToXMLSAXHandler.endElement(ToXMLSAXHandler.java:261)
        at
org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:1399)
        at
org.apache.xalan.templates.ElemApplyTemplates.transformSelectedNodes(ElemApplyTemplates.java:393)
        at
org.apache.xalan.templates.ElemApplyTemplates.execute(ElemApplyTemplates.java:176)
        at
org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2411)
        ... 36 more
---------
java.lang.NullPointerException
        at
org.apache.log4j.helpers.PatternConverter.spacePad(PatternConverter.java:106)
        at
org.apache.log4j.helpers.PatternConverter.format(PatternConverter.java:82)
        at org.apache.log4j.PatternLayout.format(PatternLayout.java:503)
        at
com.ppi.commons.logging.SecurePatternLayout.format(SecurePatternLayout.java:46)
        at org.apache.log4j.WriterAppender.subAppend(WriterAppender.java:301)
        at
org.apache.log4j.DailyRollingFileAppender.subAppend(DailyRollingFileAppender.java:358)
        at org.apache.log4j.WriterAppender.append(WriterAppender.java:159)
        at org.apache.log4j.AppenderSkeleton.doAppend(AppenderSkeleton.java:230)
        at
org.apache.log4j.helpers.AppenderAttachableImpl.appendLoopOnAppenders(AppenderAttachableImpl.java:65)
        at org.apache.log4j.Category.callAppenders(Category.java:203)
        at org.apache.log4j.Category.forcedLog(Category.java:388)
        at org.apache.log4j.Category.log(Category.java:853)
        at 
org.apache.commons.logging.impl.Log4JLogger.warn(Log4JLogger.java:157)
        at
org.apache.fop.layoutmgr.table.RowPainter.handleTableContentPosition(RowPainter.java:120)
        at
org.apache.fop.layoutmgr.table.TableContentLayoutManager.handleMarkersAndPositions(TableContentLayoutManager.java:766)
        at
org.apache.fop.layoutmgr.table.TableContentLayoutManager.iterateAndPaintPositions(TableContentLayoutManager.java:739)
        at
org.apache.fop.layoutmgr.table.TableContentLayoutManager.addAreas(TableContentLayoutManager.java:694)
        at
org.apache.fop.layoutmgr.table.TableLayoutManager.addAreas(TableLayoutManager.java:334)
        at
org.apache.fop.layoutmgr.BlockLayoutManager.addAreas(BlockLayoutManager.java:393)
        at
org.apache.fop.layoutmgr.AreaAdditionUtil.addAreas(AreaAdditionUtil.java:118)
        at
org.apache.fop.layoutmgr.FlowLayoutManager.addAreas(FlowLayoutManager.java:297)
        at org.apache.fop.layoutmgr.PageBreaker.addAreas(PageBreaker.java:241)
        at
org.apache.fop.layoutmgr.AbstractBreaker.addAreas(AbstractBreaker.java:507)
        at
org.apache.fop.layoutmgr.AbstractBreaker.addAreas(AbstractBreaker.java:370)
        at org.apache.fop.layoutmgr.PageBreaker.doPhase3(PageBreaker.java:262)
        at
org.apache.fop.layoutmgr.AbstractBreaker.doLayout(AbstractBreaker.java:345)
        at
org.apache.fop.layoutmgr.AbstractBreaker.doLayout(AbstractBreaker.java:263)
        at
org.apache.fop.layoutmgr.PageSequenceLayoutManager.activateLayout(PageSequenceLayoutManager.java:144)
        at
org.apache.fop.area.AreaTreeHandler.endPageSequence(AreaTreeHandler.java:233)
        at
org.apache.fop.fo.pagination.PageSequence.endOfNode(PageSequence.java:145)
        at
org.apache.fop.fo.FOTreeBuilder$MainFOHandler.endElement(FOTreeBuilder.java:378)
        at org.apache.fop.fo.FOTreeBuilder.endElement(FOTreeBuilder.java:194)
        at
org.apache.xml.serializer.ToXMLSAXHandler.endElement(ToXMLSAXHandler.java:261)
        at
org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:1399)
        at
org.apache.xalan.templates.ElemApplyTemplates.transformSelectedNodes(ElemApplyTemplates.java:393)
        at
org.apache.xalan.templates.ElemApplyTemplates.execute(ElemApplyTemplates.java:176)
        at
org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2411)
        at
org.apache.xalan.transformer.TransformerImpl.applyTemplateToNode(TransformerImpl.java:2281)
        at
org.apache.xalan.transformer.TransformerImpl.transformNode(TransformerImpl.java:1367)
        at
org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:709)
        at
org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:1284)
        at
org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:1262)
        at
com.ppi.csr.web.actions.DisplayStatementAction.execute(DisplayStatementAction.java:143)
        at
org.apache.struts.chain.commands.servlet.ExecuteAction.execute(ExecuteAction.java:58)
        at
org.apache.struts.chain.commands.AbstractExecuteAction.execute(AbstractExecuteAction.java:67)
        at
org.apache.struts.chain.commands.ActionCommandBase.execute(ActionCommandBase.java:51)
        at org.apache.commons.chain.impl.ChainBase.execute(ChainBase.java:190)
        at
org.apache.commons.chain.generic.LookupCommand.execute(LookupCommand.java:304)
        at org.apache.commons.chain.impl.ChainBase.execute(ChainBase.java:190)
        at
org.apache.struts.chain.ComposableRequestProcessor.process(ComposableRequestProcessor.java:283)
        at 
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913)
        at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:449)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
        at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
        at com.ppi.csr.web.SecurityFilter.doFilter(SecurityFilter.java:124)
        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
        at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
        at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
        at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
        at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:433)
        at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
        at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
        at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
        at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
        at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:200)
        at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:283)
        at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:773)
        at
org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:703)
        at
org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:895)
        at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
        at java.lang.Thread.run(Unknown Source)
15:51:41,453 ERROR ActionExceptionHandler:37 - null

org.apache.log4j.helpers.PatternConverter.spacePad(PatternConverter.java:106)
        
org.apache.log4j.helpers.PatternConverter.format(PatternConverter.java:82)
        org.apache.log4j.PatternLayout.format(PatternLayout.java:503)

com.ppi.commons.logging.SecurePatternLayout.format(SecurePatternLayout.java:46)
        org.apache.log4j.WriterAppender.subAppend(WriterAppender.java:301)

org.apache.log4j.DailyRollingFileAppender.subAppend(DailyRollingFileAppender.java:358)
        org.apache.log4j.WriterAppender.append(WriterAppender.java:159)
        org.apache.log4j.AppenderSkeleton.doAppend(AppenderSkeleton.java:230)

org.apache.log4j.helpers.AppenderAttachableImpl.appendLoopOnAppenders(AppenderAttachableImpl.java:65)
        org.apache.log4j.Category.callAppenders(Category.java:203)
        org.apache.log4j.Category.forcedLog(Category.java:388)
        org.apache.log4j.Category.log(Category.java:853)
        org.apache.commons.logging.impl.Log4JLogger.warn(Log4JLogger.java:157)
        
org.apache.struts.action.ActionMapping.findForward(ActionMapping.java:77)

com.ppi.csr.web.actions.DisplayStatementAction.execute(DisplayStatementAction.java:164)

org.apache.struts.chain.commands.servlet.ExecuteAction.execute(ExecuteAction.java:58)

org.apache.struts.chain.commands.AbstractExecuteAction.execute(AbstractExecuteAction.java:67)

org.apache.struts.chain.commands.ActionCommandBase.execute(ActionCommandBase.java:51)
        org.apache.commons.chain.impl.ChainBase.execute(ChainBase.java:190)

org.apache.commons.chain.generic.LookupCommand.execute(LookupCommand.java:304)
        org.apache.commons.chain.impl.ChainBase.execute(ChainBase.java:190)

org.apache.struts.chain.ComposableRequestProcessor.process(ComposableRequestProcessor.java:283)
        org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913)
        org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:449)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:803)

org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)

org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
        com.ppi.csr.web.SecurityFilter.doFilter(SecurityFilter.java:124)

org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)

org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)

org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)

org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)

org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:433)

org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)

org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)

org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
        
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
        org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:200)
        org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:283)
        org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:773)

org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:703)

org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:895)

org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
        java.lang.Thread.run(Unknown Source)

 --------

Now, notice I reported a couple of warnings when the PDF was successfully
generated.  I believe this is a separate issue (from the exception being
reported).

My gut tells me the exception might be caused by some unknown (to me)
problem with FOP and Tomcat's elaborate system of classloaders.  We believed
it was more efficient (memory wise) to move FOP and all of its dependencies
into Tomcat's shared classloader ($TOMCAT_HOME/shared/lib).  We have
multiple web apps on the same Tomcat server that utilize FOP.  We believe by
not having to include FOP in each WAR file, we are reducing the amount of
PermGen space Tomcat uses, as well as significantly reducing the size of
each WAR file; uploading .WARs to Tomcat is the method we use to deploy
application updates.

Thing is, we only see FOP crash when the app is re-deployed, or reloaded.

In an effort to provide the FOP developers with as much detail as possible,
I will post the XSL file we're using to generate the PDF:

<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.1"
        xmlns:xsl="http://www.w3.org/1999/XSL/Transform";
        xmlns:fo="http://www.w3.org/1999/XSL/Format";
        exclude-result-prefixes="fo">
        <xsl:output method="xml" version="1.0" omit-xml-declaration="no"
                indent="yes" />
        <xsl:param name="versionParam" select="'1.0'" />

        <xsl:template match="Statement">
                <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format";>
                        <fo:layout-master-set>
                                <fo:simple-page-master master-name="firstPage"
                                        page-height="29.7cm" page-width="21cm" 
margin-top="1cm"
                                        margin-bottom="1cm" margin-left="1.5cm" 
margin-right="1.5cm">
                    <fo:region-body margin-top="3.75cm" />
                    <fo:region-before region-name="header"
                        extent="3.75cm" margin-left="0cm" margin-right="0cm"
                        margin-top="0cm" margin-bottom="0cm" />
                                </fo:simple-page-master>

                                <fo:simple-page-master 
master-name="remainingPages"
                                        page-height="29.7cm" page-width="21cm" 
margin-top="1cm"
                                        margin-bottom="1cm" margin-left="1.5cm" 
margin-right="1.5cm">
                                        <fo:region-body margin-top="3.75cm" />
                                        <fo:region-before region-name="header"
                                                extent="3.75cm" 
margin-left="0cm" margin-right="0cm"
                                                margin-top="0cm" 
margin-bottom="0cm" />
                                </fo:simple-page-master>

                        </fo:layout-master-set>

                        <!-- Page Header -->
                        <fo:page-sequence master-reference="firstPage">
                                <fo:flow flow-name="xsl-region-body">
                                        <fo:block font-size="16pt" 
text-align="center"
                                                margin-bottom="0.7em">
                                                <fo:inline font-size="18pt" 
font-style="italic"
                                                        font-weight="bold" 
color="#000066">
                                                        [redacted]
                                                </fo:inline>
                                                <fo:inline font-size="5pt"
                                                        vertical-align="super">
                                                        SM
                                                </fo:inline>
                                                <fo:inline 
font-size="12pt">from</fo:inline>
                                                [redacted]
                                        </fo:block>
                                        <fo:block font-size="8pt">
                                                <fo:table table-layout="fixed" 
width="100%"
                                                        
border-collapse="separate">
                                                        <fo:table-column 
column-width="3cm" />
                                                        <fo:table-column 
column-width="6cm" />
                                                        <fo:table-column 
column-width="5cm" />
                                                        <fo:table-column 
column-width="4cm" />
                                                        <fo:table-body>
                                                                <fo:table-row>
                                                                        
<fo:table-cell>
                                                                                
<fo:block></fo:block>
                                                                        
</fo:table-cell>
                                                                        
<fo:table-cell>
                                                                                
<fo:block></fo:block>
                                                                        
</fo:table-cell>
                                                                        
<fo:table-cell>
                                                                                
<fo:block text-align="right"
                                                                                
        margin-right="1mm">
                                                                                
        Statment Date:
                                                                                
</fo:block>
                                                                        
</fo:table-cell>
                                                                        
<fo:table-cell>
                                                                                
<fo:block text-align="left">
                                                                                
        <xsl:value-of
                                                                                
                select="StatementDate" />
                                                                                
</fo:block>
                                                                        
</fo:table-cell>
                                                                </fo:table-row>

                                                                <fo:table-row>
                                                                        
<fo:table-cell>
                                                                                
<fo:block></fo:block>
                                                                        
</fo:table-cell>
                                                                        
<fo:table-cell>
                                                                                
<fo:block></fo:block>
                                                                        
</fo:table-cell>
                                                                        
<fo:table-cell>
                                                                                
<fo:block text-align="right"
                                                                                
        margin-right="1mm" margin-bottom="1em">
                                                                                
        Page:
                                                                                
</fo:block>
                                                                        
</fo:table-cell>
                                                                        
<fo:table-cell>
                                                                                
<fo:block text-align="left">
                                                                                
        <fo:page-number />
                                                                                
        of
                                                                                
        <fo:page-number-citation
                                                                                
                ref-id="last-page" />
                                                                                
</fo:block>
                                                                        
</fo:table-cell>
                                                                </fo:table-row>

                                                                <fo:table-row>
                                                                        
<fo:table-cell>
                                                                                
<fo:block text-align="right"
                                                                                
        margin-right="1mm">
                                                                                
        Account Name:
                                                                                
</fo:block>
                                                                        
</fo:table-cell>
                                                                        
<fo:table-cell>
                                                                                
<fo:block text-align="left">
                                                                                
        <xsl:value-of
                                                                                
                select="AccountName" />
                                                                                
</fo:block>
                                                                        
</fo:table-cell>
                                                                        
<fo:table-cell>
                                                                                
<fo:block text-align="right"
                                                                                
        margin-right="1mm">
                                                                                
        24/7 Online Account Access:
                                                                                
</fo:block>
                                                                        
</fo:table-cell>
                                                                        
<fo:table-cell>
                                                                                
<fo:block text-align="left">
                                                                                
        [redacted]
                                                                                
</fo:block>
                                                                        
</fo:table-cell>
                                                                </fo:table-row>

                                                                <fo:table-row>
                                                                        
<fo:table-cell>
                                                                                
<fo:block text-align="right"
                                                                                
        margin-right="1mm">
                                                                                
        Account Number:
                                                                                
</fo:block>
                                                                        
</fo:table-cell>
                                                                        
<fo:table-cell>
                                                                                
<fo:block text-align="left">
                                                                                
        <xsl:value-of
                                                                                
                select="AccountNumber" />
                                                                                
</fo:block>
                                                                        
</fo:table-cell>
                                                                        
<fo:table-cell>
                                                                                
<fo:block text-align="right"
                                                                                
        margin-right="1mm">
                                                                                
        Automated Line Of Credit
                                                                                
        Access:
                                                                                
</fo:block>
                                                                        
</fo:table-cell>
                                                                        
<fo:table-cell>
                                                                                
<fo:block text-align="left">
                                                                                
        Number on Back of Card
                                                                                
</fo:block>
                                                                        
</fo:table-cell>
                                                                </fo:table-row>

                                                                <fo:table-row>
                                                                        
<fo:table-cell>
                                                                                
<fo:block></fo:block>
                                                                        
</fo:table-cell>
                                                                        
<fo:table-cell>
                                                                                
<fo:block></fo:block>
                                                                        
</fo:table-cell>
                                                                        
<fo:table-cell>
                                                                                
<fo:block text-align="right"
                                                                                
        margin-right="1mm" margin-bottom="3em">
                                                                                
        Line of Credit Customer
                                                                                
        Service:
                                                                                
</fo:block>
                                                                        
</fo:table-cell>
                                                                        
<fo:table-cell>
                                                                                
<fo:block text-align="left">
                                                                                
        [redacted]
                                                                                
</fo:block>
                                                                        
</fo:table-cell>
                                                                </fo:table-row>
                                                        </fo:table-body>
                                                </fo:table>
                                        </fo:block>
                                        <!-- Page Header End -->

                                        <!-- Disclosure Start -->
                                        <fo:block font-size="9pt" 
font-weight="normal"
                                                text-align="left" 
margin-bottom="0.2em">
                                                <fo:block font-size="11pt">
                                                        <fo:inline 
font-weight="bold"
                                                                
font-style="normal">
                                                                Statement of 
Billing Rights
                                                        </fo:inline>
                                                        <fo:inline 
font-style="italic">
                                                                - YOUR BILLING 
RIGHTS KEEP THIS NOTICE
                                                                FOR FUTURE USE
                                                        </fo:inline>
                                                </fo:block>

                                                <fo:block 
margin-bottom="1em"></fo:block>
                                                <fo:block>
                                                        This notice contains 
important information
                                                        about your rights and 
our responsibilities
                                                        under the Fair Credit 
Billing Act.
                                                </fo:block>

                                                <fo:block 
margin-bottom="1em"></fo:block>
                                                <fo:block font-weight="bold">
                                                        Notify Us In Case of 
Errors or Questions
                                                        About Your Statement
                                                </fo:block>
                                                <fo:block>
                                                        If you think your 
statement is wrong, or if
                                                        you need more 
information about a
                                                        transaction on your 
statement , write us on
                                                        a separate sheet at 
[redacted]. Write to us as
                                                        soon as possible. We 
must hear from you no
                                                        later than 60 days 
after we sent you the
                                                        first statement on 
which the error or
                                                        problem appeared. You 
can telephone us, but
                                                        doing so will not 
preserve your rights.
                                                </fo:block>

                                                <fo:block 
margin-bottom="1em"></fo:block>
                                                <fo:block>
                                                        In your letter, give us 
the following
                                                        information:
                                                </fo:block>
                                                <fo:block margin-left="1em">
                                                        * Your name and account 
number.
                                                </fo:block>
                                                <fo:block margin-left="1em">
                                                        * The dollar amount of 
the suspected error.
                                                </fo:block>
                                                <fo:block margin-left="1em">
                                                        *
                                                        <fo:inline 
text-indent="1em">
                                                                Describe the 
error and explain, if you
                                                                can, why you 
believe there is an error.
                                                                If you need 
more information, describe
                                                                the item you 
are not sure about.
                                                        </fo:inline>
                                                </fo:block>

                                                <fo:block 
margin-bottom="1em"></fo:block>
                                                <fo:block font-weight="bold">
                                                        Your Rights and Our 
Responsibilities After
                                                        We Receive Your Written 
Notice
                                                </fo:block>
                                                <fo:block>
                                                        We must acknowledge 
your letter within 30
                                                        days, unless we have 
corrected the error by
                                                        then. Within 90 days, 
we must either correct
                                                        the error or explain 
why we believe the
                                                        statement was correct.
                                                </fo:block>

                                                <fo:block 
margin-bottom="1em"></fo:block>
                                                <fo:block>
                                                        After we receive your 
letter, we cannot try
                                                        to collect any amount 
you question, or
                                                        report you as 
delinquent. We can continue to
                                                        statement you for the 
amount you question,
                                                        including finance 
charges, and we can apply
                                                        any unpaid amount 
against your credit limit.
                                                        You do not have to pay 
any questioned amount
                                                        while we are 
investigating, but you are
                                                        still obligated to pay 
the parts of your
                                                        statement that are not 
in question.
                                                </fo:block>

                                                <fo:block 
margin-bottom="1em"></fo:block>
                                                <fo:block>
                                                        If we find that we made 
a mistake on your
                                                        statement, you will not 
have to pay any
                                                        finance charges related 
to any questioned
                                                        amount. If we didn't 
make a mistake, you may
                                                        have to pay finance 
charges, and you will
                                                        have to make up any 
missed payments on the
                                                        questioned amount. In 
either case, we will
                                                        send you a statement of 
the amount you owe
                                                        and the date that it is 
due.
                                                </fo:block>

                                                <fo:block 
margin-bottom="1em"></fo:block>
                                                <fo:block>
                                                        If you fail to pay the 
amount that we think
                                                        you owe, we may report 
you as delinquent.
                                                        However, if our 
explanation does not satisfy
                                                        you and you write to us 
within ten days
                                                        telling us that you 
still refuse to pay, we
                                                        must tell anyone we 
report you to that you
                                                        have a question about 
your statement. And,
                                                        we must tell you the 
name of anyone we
                                                        reported you to. We 
must tell anyone we
                                                        report you to that the 
matter has been
                                                        settled between us when 
it finally is.
                                                </fo:block>

                                                <fo:block 
margin-bottom="1em"></fo:block>
                                                <fo:block>
                                                        If you fail to pay the 
amount that we think
                                                        you owe, we may report 
you as delinquent.
                                                        However, if our 
explanation does not satisfy
                                                        you and you write to us 
within ten days
                                                        telling us that you 
still refuse to pay, we
                                                        must tell anyone we 
report you to that you
                                                        have a question about 
your statement . And,
                                                        we must tell you the 
name of anyone we
                                                        reported you to. We 
must tell anyone we
                                                        report you to that the 
matter has been
                                                        settled between us when 
it finally is.
                                                </fo:block>

                                                <fo:block 
margin-bottom="1em"></fo:block>
                                                <fo:block>
                                                        If we don't follow 
these rules, we can't
                                                        collect the first $50 
of the questioned
                                                        amount, even if your 
statement was correct.
                                                </fo:block>
                                                <fo:block 
margin-bottom="1cm"></fo:block>
                                        </fo:block>
                                        <!-- Disclosure Start -->

                                        <!-- Final Section -->
                                        <fo:block font-size="16pt" 
text-align="left"
                                                width="18cm" padding-top="2em" 
margin-bottom="0em"
                                                border-top-style="dotted" 
border-top-color="black"
                                                border-top-width="1">
                                                <fo:inline font-size="18pt" 
font-style="italic"
                                                        font-weight="bold" 
color="#000066">
                                                        [redacted]
                                                </fo:inline>
                                                <fo:inline font-size="5pt"
                                                        vertical-align="super">
                                                        SM
                                                </fo:inline>
                                                <fo:inline 
font-size="12pt">from</fo:inline>
                                                [redacted]
                                        </fo:block>

                                        <fo:block font-size="12pt" 
font-weight="normal"
                                                text-align="center">
                                                <fo:table table-layout="fixed" 
width="100%">
                                                        <fo:table-column 
column-width="11cm" />
                                                        <fo:table-column 
column-width="3cm" />

                                                        <fo:table-body>
                                                                <fo:table-row>
                                                                        
<fo:table-cell>
                                                                                
<fo:block text-align="left">
                                                                                
        [redacted]
                                                                                
</fo:block>
                                                                        
</fo:table-cell>
                                                                        
<fo:table-cell>
                                                                                
<fo:block></fo:block>
                                                                        
</fo:table-cell>
                                                                </fo:table-row>
                                                                <fo:table-row>
                                                                        
<fo:table-cell>
                                                                                
<fo:block text-align="left">
                                                                                
        [redacted]
                                                                                
</fo:block>
                                                                        
</fo:table-cell>
                                                                        
<fo:table-cell>
                                                                                
<fo:block></fo:block>
                                                                        
</fo:table-cell>
                                                                </fo:table-row>
                                                                <fo:table-row>
                                                                        
<fo:table-cell>
                                                                                
<fo:block text-align="left">
                                                                                
        [redacted]
                                                                                
</fo:block>
                                                                        
</fo:table-cell>
                                                                        
<fo:table-cell>
                                                                                
<fo:block margin-bottom="7em"></fo:block>
                                                                        
</fo:table-cell>
                                                                </fo:table-row>
                                                                <fo:table-row>
                                                                        
<fo:table-cell>
                                                                                
<fo:block text-align="left"
                                                                                
        margin-left="4em">
                                                                                
        <xsl:value-of
                                                                                
                select="AccountName" />
                                                                                
</fo:block>
                                                                        
</fo:table-cell>
                                                                        
<fo:table-cell>
                                                                                
<fo:block text-align="left">
                                                                                
</fo:block>
                                                                        
</fo:table-cell>
                                                                </fo:table-row>
                                                                <fo:table-row>
                                                                        
<fo:table-cell>
                                                                                
<fo:block text-align="left"
                                                                                
        margin-left="4em">
                                                                                
        <xsl:value-of
                                                                                
                select="MailingAddress1" />
                                                                                
</fo:block>
                                                                        
</fo:table-cell>
                                                                        
<fo:table-cell>
                                                                                
<fo:block text-align="left">
                                                                                
</fo:block>
                                                                        
</fo:table-cell>
                                                                </fo:table-row>
                                                                <fo:table-row>
                                                                        
<fo:table-cell>
                                                                                
<fo:block text-align="left"
                                                                                
        margin-left="4em">
                                                                                
        <xsl:value-of
                                                                                
                select="MailingAddress2" />
                                                                                
</fo:block>
                                                                        
</fo:table-cell>
                                                                        
<fo:table-cell>
                                                                                
<fo:block text-align="left">
                                                                                
</fo:block>
                                                                        
</fo:table-cell>
                                                                </fo:table-row>
                                                                <fo:table-row>
                                                                        
<fo:table-cell>
                                                                                
<fo:block text-align="left"
                                                                                
        margin-left="4em">
                                                                                
        <xsl:value-of
                                                                                
                select="MailingAddress3" />
                                                                                
</fo:block>
                                                                        
</fo:table-cell>
                                                                        
<fo:table-cell>
                                                                                
<fo:block text-align="left">
                                                                                
</fo:block>
                                                                        
</fo:table-cell>
                                                                </fo:table-row>
                                                        </fo:table-body>
                                                </fo:table>
                                        </fo:block>
                                        <!-- Final Section -->
                                </fo:flow>
                        </fo:page-sequence>

                        <!-- Page Header -->
                        <fo:page-sequence master-reference="remainingPages">
                                <fo:static-content flow-name="header">
                                        <fo:block font-size="16pt" 
text-align="center"
                                                margin-bottom="0.7em">
                                                <fo:inline font-size="18pt" 
font-style="italic"
                                                        font-weight="bold" 
color="#000066">
                                                        [redacted]
                                                </fo:inline>
                                                <fo:inline font-size="5pt"
                                                        vertical-align="super">
                                                        SM
                                                </fo:inline>
                                                <fo:inline 
font-size="12pt">from</fo:inline>
                                                [redacted]
                                        </fo:block>
                                        <fo:block font-size="8pt">
                                                <fo:table table-layout="fixed" 
width="100%"
                                                        
border-collapse="separate">
                                                        <fo:table-column 
column-width="3cm" />
                                                        <fo:table-column 
column-width="6cm" />
                                                        <fo:table-column 
column-width="5cm" />
                                                        <fo:table-column 
column-width="4cm" />
                                                        <fo:table-body>
                                                                <fo:table-row>
                                                                        
<fo:table-cell>
                                                                                
<fo:block></fo:block>
                                                                        
</fo:table-cell>
                                                                        
<fo:table-cell>
                                                                                
<fo:block></fo:block>
                                                                        
</fo:table-cell>
                                                                        
<fo:table-cell>
                                                                                
<fo:block text-align="right"
                                                                                
        margin-right="1mm">
                                                                                
        Statment Date:
                                                                                
</fo:block>
                                                                        
</fo:table-cell>
                                                                        
<fo:table-cell>
                                                                                
<fo:block text-align="left">
                                                                                
        <xsl:value-of
                                                                                
                select="StatementDate" />
                                                                                
</fo:block>
                                                                        
</fo:table-cell>
                                                                </fo:table-row>

                                                                <fo:table-row>
                                                                        
<fo:table-cell>
                                                                                
<fo:block></fo:block>
                                                                        
</fo:table-cell>
                                                                        
<fo:table-cell>
                                                                                
<fo:block></fo:block>
                                                                        
</fo:table-cell>
                                                                        
<fo:table-cell>
                                                                                
<fo:block text-align="right"
                                                                                
        margin-right="1mm" margin-bottom="1em">
                                                                                
        Page:
                                                                                
</fo:block>
                                                                        
</fo:table-cell>
                                                                        
<fo:table-cell>
                                                                                
<fo:block text-align="left">
                                                                                
        <fo:page-number />
                                                                                
        of
                                                                                
        <fo:page-number-citation
                                                                                
                ref-id="last-page" />
                                                                                
</fo:block>
                                                                        
</fo:table-cell>
                                                                </fo:table-row>

                                                                <fo:table-row>
                                                                        
<fo:table-cell>
                                                                                
<fo:block text-align="right"
                                                                                
        margin-right="1mm">
                                                                                
        Account Name:
                                                                                
</fo:block>
                                                                        
</fo:table-cell>
                                                                        
<fo:table-cell>
                                                                                
<fo:block text-align="left">
                                                                                
        <xsl:value-of
                                                                                
                select="AccountName" />
                                                                                
</fo:block>
                                                                        
</fo:table-cell>
                                                                        
<fo:table-cell>
                                                                                
<fo:block text-align="right"
                                                                                
        margin-right="1mm">
                                                                                
        24/7 Online Account Access:
                                                                                
</fo:block>
                                                                        
</fo:table-cell>
                                                                        
<fo:table-cell>
                                                                                
<fo:block text-align="left">
                                                                                
        [redacted]
                                                                                
</fo:block>
                                                                        
</fo:table-cell>
                                                                </fo:table-row>

                                                                <fo:table-row>
                                                                        
<fo:table-cell>
                                                                                
<fo:block text-align="right"
                                                                                
        margin-right="1mm">
                                                                                
        Account Number:
                                                                                
</fo:block>
                                                                        
</fo:table-cell>
                                                                        
<fo:table-cell>
                                                                                
<fo:block text-align="left">
                                                                                
        <xsl:value-of
                                                                                
                select="AccountNumber" />
                                                                                
</fo:block>
                                                                        
</fo:table-cell>
                                                                        
<fo:table-cell>
                                                                                
<fo:block text-align="right"
                                                                                
        margin-right="1mm">
                                                                                
        Automated Line Of Credit
                                                                                
        Access:
                                                                                
</fo:block>
                                                                        
</fo:table-cell>
                                                                        
<fo:table-cell>
                                                                                
<fo:block text-align="left">
                                                                                
        Number on Back of Card
                                                                                
</fo:block>
                                                                        
</fo:table-cell>
                                                                </fo:table-row>

                                                                <fo:table-row>
                                                                        
<fo:table-cell>
                                                                                
<fo:block></fo:block>
                                                                        
</fo:table-cell>
                                                                        
<fo:table-cell>
                                                                                
<fo:block></fo:block>
                                                                        
</fo:table-cell>
                                                                        
<fo:table-cell>
                                                                                
<fo:block text-align="right"
                                                                                
        margin-right="1mm" margin-bottom="3em">
                                                                                
        Line of Credit Customer
                                                                                
        Service:
                                                                                
</fo:block>
                                                                        
</fo:table-cell>
                                                                        
<fo:table-cell>
                                                                                
<fo:block text-align="left">
                                                                                
        [redacted]
                                                                                
</fo:block>
                                                                        
</fo:table-cell>
                                                                </fo:table-row>
                                                        </fo:table-body>
                                                </fo:table>
                                        </fo:block>
                                        <!-- Page Header End -->
                                </fo:static-content>

                                <fo:flow flow-name="xsl-region-body">

                                        <!-- Report Header Begin -->
                                        <fo:block font-size="8pt">
                                                <fo:block font-weight="bold">
                                                        Account Information
                                                </fo:block>

                                                <fo:table table-layout="fixed" 
width="100%"
                                                        margin-bottom="3em">
                                                        <fo:table-column 
column-width="3.0cm" />
                                                        <fo:table-column 
column-width="3.0cm" />
                                                        <fo:table-column 
column-width="3.0cm" />
                                                        <fo:table-column 
column-width="3.0cm" />
                                                        <fo:table-column 
column-width="3.0cm" />
                                                        <fo:table-column 
column-width="3.0cm" />

                                                        <fo:table-header 
border-collapse="separate"
                                                                
border-top-style="solid" border-top-color="black"
                                                                
border-top-width="1" border-bottom-style="solid"
                                                                
border-bottom-color="black" border-bottom-width="1">
                                                                <fo:table-cell
                                                                        
background-color="#DDDDDD">
                                                                        
<fo:block font-weight="normal"
                                                                                
text-align="center">
                                                                                
Statement
                                                                        
</fo:block>
                                                                        
<fo:block font-weight="normal"
                                                                                
text-align="center">
                                                                                
Opening Date
                                                                        
</fo:block>
                                                                </fo:table-cell>
                                                                <fo:table-cell
                                                                        
background-color="#DDDDDD">
                                                                        
<fo:block font-weight="normal"
                                                                                
text-align="center">
                                                                                
Statement
                                                                        
</fo:block>
                                                                        
<fo:block font-weight="normal"
                                                                                
text-align="center">
                                                                                
Closing Date
                                                                        
</fo:block>
                                                                </fo:table-cell>
                                                                <fo:table-cell
                                                                        
background-color="#DDDDDD">
                                                                        
<fo:block font-weight="normal"
                                                                                
text-align="center">
                                                                                
Days In This
                                                                        
</fo:block>
                                                                        
<fo:block font-weight="normal"
                                                                                
text-align="center">
                                                                                
Statement Period
                                                                        
</fo:block>
                                                                </fo:table-cell>
                                                                <fo:table-cell
                                                                        
background-color="#DDDDDD">
                                                                        
<fo:block font-weight="normal"
                                                                                
text-align="center">
                                                                                
Credit
                                                                        
</fo:block>
                                                                        
<fo:block font-weight="normal"
                                                                                
text-align="center">
                                                                                
Limit
                                                                        
</fo:block>
                                                                </fo:table-cell>
                                                                <fo:table-cell
                                                                        
background-color="#DDDDDD">
                                                                        
<fo:block font-weight="normal"
                                                                                
text-align="center">
                                                                                
Available
                                                                        
</fo:block>
                                                                        
<fo:block font-weight="normal"
                                                                                
text-align="center">
                                                                                
Credit
                                                                        
</fo:block>
                                                                </fo:table-cell>
                                                                <fo:table-cell
                                                                        
background-color="#DDDDDD">
                                                                        
<fo:block font-weight="normal"
                                                                                
text-align="center">
                                                                                
Past Due
                                                                        
</fo:block>
                                                                        
<fo:block font-weight="normal"
                                                                                
text-align="center">
                                                                                
Amount
                                                                        
</fo:block>
                                                                </fo:table-cell>
                                                        </fo:table-header>

                                                        <fo:table-body>
                                                                <fo:table-row>
                                                                        
<fo:table-cell>
                                                                                
<fo:block text-align="center">
                                                                                
        <xsl:value-of
                                                                                
                select="OpeningDate" />
                                                                                
</fo:block>
                                                                        
</fo:table-cell>
                                                                        
<fo:table-cell>
                                                                                
<fo:block text-align="center">
                                                                                
        <xsl:value-of
                                                                                
                select="ClosingDate" />
                                                                                
</fo:block>
                                                                        
</fo:table-cell>
                                                                        
<fo:table-cell>
                                                                                
<fo:block text-align="center">
                                                                                
        <xsl:value-of
                                                                                
                select="DaysInPeriod" />
                                                                                
</fo:block>
                                                                        
</fo:table-cell>
                                                                        
<fo:table-cell>
                                                                                
<fo:block text-align="center">
                                                                                
        <xsl:value-of
                                                                                
                select="Limit" />
                                                                                
</fo:block>
                                                                        
</fo:table-cell>
                                                                        
<fo:table-cell>
                                                                                
<fo:block text-align="center">
                                                                                
        <xsl:value-of
                                                                                
                select="Available" />
                                                                                
</fo:block>
                                                                        
</fo:table-cell>
                                                                        
<fo:table-cell>
                                                                                
<fo:block text-align="center">
                                                                                
        <xsl:value-of
                                                                                
                select="PastDue" />
                                                                                
</fo:block>
                                                                        
</fo:table-cell>
                                                                </fo:table-row>
                                                        </fo:table-body>
                                                </fo:table>
                                        </fo:block>
                                        <!-- Report Header End -->

                                        <!-- Transaction List Begin -->
                                        <fo:block font-size="8pt">
                                                <fo:block font-weight="bold">
                                                        Monthly Transactions
                                                </fo:block>
                                                <fo:table table-layout="fixed" 
width="100%"
                                                        margin-bottom="3em">
                                                        <fo:table-column 
column-width="2.5cm" />
                                                        <fo:table-column 
column-width="2.5cm" />
                                                        <fo:table-column 
column-width="10cm" />
                                                        <fo:table-column 
column-width="3cm" />

                                                        <fo:table-header 
border-collapse="separate"
                                                                
border-top-style="solid" border-top-color="black"
                                                                
border-top-width="1" border-bottom-style="solid"
                                                                
border-bottom-color="black" border-bottom-width="1">
                                                                <fo:table-cell
                                                                        
background-color="#DDDDDD">
                                                                        
<fo:block font-weight="normal"
                                                                                
text-align="center">
                                                                                
Transaction
                                                                        
</fo:block>
                                                                        
<fo:block font-weight="normal"
                                                                                
text-align="center">
                                                                                
Date
                                                                        
</fo:block>
                                                                </fo:table-cell>
                                                                <fo:table-cell
                                                                        
background-color="#DDDDDD">
                                                                        
<fo:block font-weight="normal"
                                                                                
text-align="center">
                                                                                
Transaction Number
                                                                        
</fo:block>
                                                                </fo:table-cell>
                                                                <fo:table-cell
                                                                        
background-color="#DDDDDD">
                                                                        
<fo:block font-weight="normal"
                                                                                
text-align="left" margin-left="2em">
                                                                                
Transaction
                                                                        
</fo:block>
                                                                        
<fo:block font-weight="normal"
                                                                                
text-align="left" margin-left="2em">
                                                                                
Description
                                                                        
</fo:block>
                                                                </fo:table-cell>
                                                                <fo:table-cell
                                                                        
background-color="#DDDDDD">
                                                                        
<fo:block font-weight="normal"
                                                                                
text-align="center">
                                                                                
Transaction
                                                                        
</fo:block>
                                                                        
<fo:block font-weight="normal"
                                                                                
text-align="center">
                                                                                
Amount
                                                                        
</fo:block>
                                                                </fo:table-cell>
                                                        </fo:table-header>

                                                        <fo:table-body>
                                                                
<xsl:apply-templates
                                                                        
select="Transaction" />
                                                        </fo:table-body>
                                                </fo:table>
                                        </fo:block>
                                        <!-- Transaction List End -->


                                        <!-- Report - Section 3 Begin -->
                                        <fo:block font-size="8pt">
                                                <fo:block font-weight="bold">
                                                        Account Summary
                                                </fo:block>
                                                <fo:table table-layout="fixed" 
width="100%"
                                                        margin-bottom="3em">
                                                        <fo:table-column 
column-width="2.6cm" />
                                                        <fo:table-column 
column-width="0.65cm" />

                                                        <fo:table-column 
column-width="2cm" />
                                                        <fo:table-column 
column-width="0.65cm" />

                                                        <fo:table-column 
column-width="2.8cm" />
                                                        <fo:table-column 
column-width="0.65cm" />

                                                        <fo:table-column 
column-width="1.9cm" />
                                                        <fo:table-column 
column-width="0.65cm" />

                                                        <fo:table-column 
column-width="2.8cm" />
                                                        <fo:table-column 
column-width="0.65cm" />

                                                        <fo:table-column 
column-width="2.7cm" />

                                                        <fo:table-header 
border-collapse="separate"
                                                                
border-top-style="solid" border-top-color="black"
                                                                
border-top-width="1" border-bottom-style="solid"
                                                                
border-bottom-color="black" border-bottom-width="1">
                                                                <fo:table-cell
                                                                        
background-color="#DDDDDD">
                                                                        
<fo:block font-weight="normal"
                                                                                
text-align="center" margin-top="0.5em"
                                                                                
margin-bottom="0.5em">
                                                                                
Previous Balance
                                                                        
</fo:block>
                                                                </fo:table-cell>
                                                                <fo:table-cell
                                                                        
background-color="#DDDDDD">
                                                                        
<fo:block font-weight="normal"
                                                                                
text-align="center" margin-top="0.5em"
                                                                                
margin-bottom="0.5em">
                                                                                
(+)
                                                                        
</fo:block>
                                                                </fo:table-cell>
                                                                <fo:table-cell
                                                                        
background-color="#DDDDDD">
                                                                        
<fo:block font-weight="normal"
                                                                                
text-align="center" margin-top="0.5em"
                                                                                
margin-bottom="0.5em">
                                                                                
Advances
                                                                        
</fo:block>
                                                                </fo:table-cell>
                                                                <fo:table-cell
                                                                        
background-color="#DDDDDD">
                                                                        
<fo:block font-weight="normal"
                                                                                
text-align="center" margin-top="0.5em"
                                                                                
margin-bottom="0.5em">
                                                                                
(+)
                                                                        
</fo:block>
                                                                </fo:table-cell>
                                                                <fo:table-cell
                                                                        
background-color="#DDDDDD">
                                                                        
<fo:block font-weight="bold"
                                                                                
text-align="center" margin-top="0.5em"
                                                                                
margin-bottom="0.5em">
                                                                                
FINANCE CHARGES
                                                                        
</fo:block>
                                                                </fo:table-cell>
                                                                <fo:table-cell
                                                                        
background-color="#DDDDDD">
                                                                        
<fo:block font-weight="normal"
                                                                                
text-align="center" margin-top="0.5em"
                                                                                
margin-bottom="0.5em">
                                                                                
(+)
                                                                        
</fo:block>
                                                                </fo:table-cell>
                                                                <fo:table-cell
                                                                        
background-color="#DDDDDD">
                                                                        
<fo:block font-weight="normal"
                                                                                
text-align="center" margin-top="0.5em"
                                                                                
margin-bottom="0.5em">
                                                                                
Other Charges
                                                                        
</fo:block>
                                                                </fo:table-cell>
                                                                <fo:table-cell
                                                                        
background-color="#DDDDDD">
                                                                        
<fo:block font-weight="normal"
                                                                                
text-align="center" margin-top="0.5em"
                                                                                
margin-bottom="0.5em">
                                                                                
(-)
                                                                        
</fo:block>
                                                                </fo:table-cell>
                                                                <fo:table-cell
                                                                        
background-color="#DDDDDD">
                                                                        
<fo:block font-weight="normal"
                                                                                
text-align="center" margin-top="0.5em"
                                                                                
margin-bottom="0.5em">
                                                                                
Payments and Credits
                                                                        
</fo:block>
                                                                </fo:table-cell>
                                                                <fo:table-cell
                                                                        
background-color="#DDDDDD">
                                                                        
<fo:block font-weight="normal"
                                                                                
text-align="center" margin-top="0.5em"
                                                                                
margin-bottom="0.5em">
                                                                                
(=)
                                                                        
</fo:block>
                                                                </fo:table-cell>
                                                                <fo:table-cell
                                                                        
background-color="#DDDDDD">
                                                                        
<fo:block font-weight="normal"
                                                                                
text-align="center" margin-top="0.5em"
                                                                                
margin-bottom="0.5em">
                                                                                
Outstanding Balance
                                                                        
</fo:block>
                                                                </fo:table-cell>
                                                        </fo:table-header>

                                                        <fo:table-body>
                                                                <fo:table-row>
                                                                        
<fo:table-cell>
                                                                                
<fo:block text-align="center">
                                                                                
        <xsl:value-of
                                                                                
                select="PreviousBalance" />
                                                                                
</fo:block>
                                                                        
</fo:table-cell>
                                                                        
<fo:table-cell>
                                                                                
<fo:block font-weight="normal"
                                                                                
        text-align="center">
                                                                                
</fo:block>
                                                                        
</fo:table-cell>
                                                                        
<fo:table-cell>
                                                                                
<fo:block text-align="center">
                                                                                
        <xsl:value-of
                                                                                
                select="Advances" />
                                                                                
</fo:block>
                                                                        
</fo:table-cell>
                                                                        
<fo:table-cell>
                                                                                
<fo:block font-weight="normal"
                                                                                
        text-align="center">
                                                                                
</fo:block>
                                                                        
</fo:table-cell>
                                                                        
<fo:table-cell>
                                                                                
<fo:block font-weight="bold"
                                                                                
        text-align="center">
                                                                                
        <xsl:value-of
                                                                                
                select="FinanceCharges" />
                                                                                
</fo:block>
                                                                        
</fo:table-cell>
                                                                        
<fo:table-cell>
                                                                                
<fo:block font-weight="normal"
                                                                                
        text-align="center">
                                                                                
</fo:block>
                                                                        
</fo:table-cell>
                                                                        
<fo:table-cell>
                                                                                
<fo:block text-align="center">
                                                                                
        <xsl:value-of
                                                                                
                select="OtherCharges" />
                                                                                
</fo:block>
                                                                        
</fo:table-cell>
                                                                        
<fo:table-cell>
                                                                                
<fo:block font-weight="normal"
                                                                                
        text-align="center">
                                                                                
</fo:block>
                                                                        
</fo:table-cell>
                                                                        
<fo:table-cell>
                                                                                
<fo:block text-align="center">
                                                                                
        <xsl:value-of
                                                                                
                select="Credits" />
                                                                                
</fo:block>
                                                                        
</fo:table-cell>
                                                                        
<fo:table-cell>
                                                                                
<fo:block font-weight="normal"
                                                                                
        text-align="center">
                                                                                
</fo:block>
                                                                        
</fo:table-cell>
                                                                        
<fo:table-cell>
                                                                                
<fo:block text-align="center">
                                                                                
        <xsl:value-of
                                                                                
                select="OutstandingBalance" />
                                                                                
</fo:block>
                                                                        
</fo:table-cell>
                                                                </fo:table-row>
                                                        </fo:table-body>
                                                </fo:table>
                                        </fo:block>
                                        <!-- Report - Section 3 End -->

                                        <!-- Report - Section 4 Begin -->
                                        <fo:block font-size="8pt">
                                                <fo:block font-weight="bold">
                                                        Rate Information
                                                </fo:block>
                                                <fo:table table-layout="fixed" 
width="100%"
                                                        margin-bottom="4em">
                                                        <fo:table-column 
column-width="9cm" />
                                                        <fo:table-column 
column-width="9cm" />

                                                        <fo:table-header 
border-collapse="separate"
                                                                
border-top-style="solid" border-top-color="black"
                                                                
border-top-width="1" border-bottom-style="solid"
                                                                
border-bottom-color="black" border-bottom-width="1">
                                                                <fo:table-cell
                                                                        
background-color="#DDDDDD">
                                                                        
<fo:block font-weight="normal"
                                                                                
text-align="center" margin-top="0.6em">
                                                                                
Daily Periodic Rate
                                                                        
</fo:block>
                                                                </fo:table-cell>
                                                                <fo:table-cell
                                                                        
background-color="#DDDDDD">
                                                                        
<fo:block font-weight="bold"
                                                                                
text-align="center">
                                                                                
ANNUAL PERCENTAGE
                                                                        
</fo:block>
                                                                        
<fo:block font-weight="bold"
                                                                                
text-align="center">
                                                                                
RATE (APR)
                                                                        
</fo:block>
                                                                </fo:table-cell>
                                                        </fo:table-header>

                                                        <fo:table-body>
                                                                <fo:table-row>
                                                                        
<fo:table-cell>
                                                                                
<fo:block text-align="center">
                                                                                
        <xsl:value-of
                                                                                
                select="DailyPeriodicRate" />
                                                                                
</fo:block>
                                                                        
</fo:table-cell>
                                                                        
<fo:table-cell>
                                                                                
<fo:block font-weight="bold"
                                                                                
        text-align="center">
                                                                                
        <xsl:value-of select="APR" />
                                                                                
</fo:block>
                                                                        
</fo:table-cell>
                                                                </fo:table-row>
                                                        </fo:table-body>
                                                </fo:table>
                                        </fo:block>
                                        <!-- Report - Section 4 End -->
                                        <fo:block id="last-page" />
                                </fo:flow>
                        </fo:page-sequence>
                </fo:root>
        </xsl:template>

        <xsl:template match="Transaction">
                <fo:table-row>
                        <fo:table-cell>
                                <fo:block text-align="center">
                                        <xsl:value-of select="Date" />
                                </fo:block>
                        </fo:table-cell>
                        <fo:table-cell>
                                <fo:block text-align="center">
                                        <xsl:value-of select="Number" />
                                </fo:block>
                        </fo:table-cell>
                        <fo:table-cell>
                                <fo:block margin-left="2em">
                                        <xsl:value-of select="Description" />
                                </fo:block>
                        </fo:table-cell>
                        <fo:table-cell margin-right="3.5em">
                                <fo:block text-align="right">
                                        <xsl:value-of select="Amount" />
                                </fo:block>
                        </fo:table-cell>
                </fo:table-row>
        </xsl:template>
</xsl:stylesheet>


-- 
View this message in context: 
http://www.nabble.com/FOP-works-until-web-app-is-re-deployed-to-Tomcat-tp20271546p20274151.html
Sent from the FOP - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to