Subject: Re: [xsl] Pagebreaks in Excel-HTML transformer|
Date: Fri, 03 Feb 2006 16:47:12 -0500
> If I run it through XMLSpy2006, I do get page-break-after properly inserted, > but I couldn't open it normally with either Excel (was all screwed up) > or IE6 (looks like 1 long page, if I do Print Preview, it creates 10 blank pages > and then puts all without any page breaks). > > In order to open it in IE with Excel plug-in, > we put the HTML Serializer with the mime type "application/ms-excel" > > I just checked, that serializer removes all "page-break-after" > and inserts "page-break-before" where it pleases (e.g. incorrectly) > What should I do ? I was able to open the file normally with Excel 2000. All the pages broke where you would expect them to break. I observed the same blank pages problem with Netscape Mozilla, Firefox, and IE. At this point your problem is no longer with XSLT, but instead with how the browsers or the HTML serializer handle your HTML. I don't claim any special knowledge in these areas and you have moved beyond XSL matters. You will have to take up these issues with other mailing lists or paid support organizations. If you learn why the paging works the way it does and how the HTML should be formed, we can help you with the XSLT. Until we know what output you want, there's not much more we can offer.