This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: How to put a page break in XSL? If not, how to use XSL/CSS2 toge ther?



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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]