|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Printing XML + XSLT (2nd try)
Hello,
I am currently working on something similar to
this thread of discussion. I too, would like to hear more.
Also, a question that has arisen from my work in
this area.
I am using XSL transformations to create a result
tree that can be processed by my renderer to create "text"
reports for old style cut form printers. I use a XSL stylesheet
to format XML data and then render the output as a complete
document. My rendering engine processes the document from
top to bottom to create the report pages. Currently I am
using the MSXMLR.DLL.
What would be the best way to handle a "re-occurring" area
of data in a report that does not run off the end of the page. (Running
off the end of the page is fairly easily handled by <xsl:for-each>
instructions and checking to see if the end of page is near).
For example the report would be:
XXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXX
YYYYYYYYYYYYYYY
YYYYYYYYYYYYYYY
...
YYYYYYYYYYYYYYY
ZZZZZZZZZZZZZZZZZZZ
where X and Z are static data and Y is re-occurring (but maybe more times
than the page can hold.) For example, we only want 10 rows of Y on the
page and the 11th Y row to occur on page 2.
Can somebody suggest some XSLT to only render 10 rows at a time
(or something to that affect.)
Your reponse is appreciated.
Jeff.
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








