Q
Problem solve Get help with specific problems with your technologies, process and projects.

Generating page numbers and headers in monthly statements

I am trying to generate monthly activity statements using XML. Although I can define a header and body (containing...

the monthly activity), I am stuck as how to check for the end of the page. I need to throw a page feed and reproduce the header for each page.

Does the solution change if I have to include a page number in the header?


This is a function of your output pagination system rather than of the XML. For example, if you were using XSLFO, you would specify a "running header". You can also do this by targeting, say Word RTF or OpenOffice SXW format.

The easiest thing to do is set the pages up the way you want, then programatically generate the content in the required format. I find OpenOffice's SXW very useful for this sort of thing. (It's just a zip file containing four XML files.)


This was last published in February 2003

Dig Deeper on Development implications of microservices architecture

PRO+

Content

Find more PRO+ content and other member only offers, here.

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Please create a username to comment.

-ADS BY GOOGLE

SearchSoftwareQuality

SearchCloudApplications

SearchAWS

TheServerSide.com

SearchWinDevelopment

DevOpsAgenda

Close