[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] inserting page-break after certain terms
Hello XSL-list,
I have the following scenario: I declared a local variable where I count the lines and convert them to [mm] to achieve the height of a certain <section> which includes several elements. I know that the print space is 180mm high. Now I want to create a loop where I count the height of <section> until it is smaller or even than 180mm and insert a page-break afterwards. The next step should be to check if the rest of the space is 20mm, 40mm, 60mm and so on. This is what I have written so far.
I think after the page-break the variable $gesamt should be "zero". Is this possible with ...select="0"? Does anyone outthere have a hint for me how to solve this problem? If I use the code above I only receive one block per page. I hope this is not too confusing :-) Thanks so much for helping me. Andreas
|
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
|