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?


Hi, Rick:

	I used your suggestion to do page break:
		<div style="page-break-before: always" />
and it worked real well.  But when I tried to break after with:
		<div style="page-break-after: always" />
It didn't work at all.  Any idea why this is the case?

Much thanks,

Xiaocun Xu
mailto:xxu@commercialware.com

> >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?
> 
> 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
> 


**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

This footnote also confirms that this email message has been swept
for the presence of computer viruses.

WIN $1,000,000 !
WWW.COMMERCIALWARE.COM

**********************************************************************


 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]