Altova Mailing List Archives


Re: Page Breaks

From: "Fred" <fred@----.--->
To: NULL
Date: 1/25/2007 9:28:00 AM

Thanks for the post.  WIth CSS I still have to figure out where the page 
breaks go.  My reports generated with XSL are dynamic and not static so I do 
not know at design time where I should put the page breaks.  Any ideas?

"Martin Honnen" <mahotrash@y...> wrote in message 
news:ezzvWDIQHHA.4364@T......
> Fred wrote:
>
>> I am transforming XML using XSL to html for reporting.  I use tables to 
>> display the data.  I am looking for a way to break up the page so tables 
>> are not split on to two pages but rather put a page break in.  Any ideas?
>
> HTML documents can be styled with CSS so you could write a stylesheet for 
> media print that uses the CSS 2 print properties like page-break-before or 
> page-break-after. That way it is not an XSLT/XML problem but rather a CSS 
> problem as you would simply use XSLT to generate an HTML document 
> containing or linking to the CSS.
> <http://msdn.microsoft.com/library/default.asp?url=/workshop/author/css/reference/css_ref_printing_entry.asp>
> shows the CSS properties IE supports.
>
> -- 
>
> Martin Honnen --- MVP XML
> http://JavaScript.FAQTs.com/ 


Disclaimer

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.