[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] 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@xxxxxxxxxxxxxxxxxx > >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
|
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
|