This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: How to put a page break in XSL? If not, how to use XSL/CSS2 toge ther?
- To: xsl-list at mulberrytech dot com
- Subject: Re: How to put a page break in XSL? If not, how to use XSL/CSS2 toge ther?
- From: RSuiter at cccis dot com
- Date: Mon, 26 Jun 2000 14:41:13 -0500
- Reply-To: xsl-list at mulberrytech dot com
Xaiocun wrote:
>I need to put page break in the
>resulting HTML so that it could be printed on printers. How can I put a
>page break in XSL? If not possible, I know that it is possible to put
>page break in CSS2.
The simple way is to just use CSS2 styles for this. For example, I just
put this into the output as a literal:
<div style="page-break-before: always" />
The hard way is to use XSL FO. But if you can get away with not going there, you'll probably get done faster.
Rick Suiter
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list