fo:table-header - between 2 pages
Hello! I have a problem with fo:table-header : the contents of the fo:table-header cannot be between 2 pages (If there are many lines in the fo:table-header) For example if a table (and fo:table-header) must start in the medium of the page And FOP thinks that the contents of the fo:table-header will not have enough place, there will be a page break and the fo:table-header will be written at the beginning of the next page its normal ? Philippe Pithon mailto:[EMAIL PROTECTED]
table-layout=fixed (xslfo / css difference)
Hello ! I noted a difference in operation between the xslfo/fop and css/ie of function table-layout=fixed XSLFO : fo:table table-layout=fixed CSS : table style=table-layout:fixed With FOP, the width of contents of a table has priority In CSS, the width of a table is really fixed (even if the contents have an important table) Its normal?
RE : patch 0.20.5 - releasing memory allocated
I use one page sequence with lots and large tables I don't mesure memory consumption but the speed (I would do it the next week with jprobe) After download cvs branch fop-0_20_2-maintain I must execute build.bat, That's all ? which java source were modified ? -Message d'origine- De : J.Pietschmann [mailto:[EMAIL PROTECTED] Envoyé : mercredi 3 mars 2004 22:17 À : [EMAIL PROTECTED] Objet : Re: patch 0.20.5 - releasing memory allocated Philippe PITHON wrote: In forum, I see a message There was a patch afterwards for releasing memory allocated by the table layout to this branch after the release I have download the head of the fop-0_20_2-maintain branch and build FOP But, but after many tests, I dont see a difference in speed or less place memory Unless you use lots and/or large tables without enclosing them in small page sequences, you wont see much of a speed increase or less memory consumption (how do you measure memory consumption anyway?) J.Pietschmann - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
patch 0.20.5 - releasing memory allocated
Hello! I would like to improve the performances of FOP In forum, I see a message There was a patch afterwards for releasing memory allocated by the table layout to this branch after the release I have download the head of the fop-0_20_2-maintain branch and build FOP But, but after many tests, I dont see a difference in speed or less place memory I forgot a procedure?
RE : RE : renderer postscript : border painting
Hello ! I modified PSRenderer and that functions!!! Thank you very much! -Message d'origine- De : Jeremias Maerki [mailto:[EMAIL PROTECTED] Envoyé : mardi 13 janvier 2004 22:51 À : [EMAIL PROTECTED] Objet : Re: RE : renderer postscript : border painting Salut Philippe I haven't had time, yet, to run the debugger, but I think it's pretty obvious now what going wrong. If you look that PostScript file you sent me in a text editor you can see that there is a line 1.0 1.0 1.0 setrgbcolor at the beginning of page 1 which is missing on page 2. You can patch src/org/apache/fop/render/ps/PSRenderer.java. Find the method useColor(float, float, float) and remove the line with the if. This will disable a dumb and obviously buggy optimization attempt. It will certainly increase the size of the PostScript file for the moment but should get rid of the bug. Rebuild FOP after modifying. If I find some time I'll see if I can find a better solution. I probably have the same problem in the dev version. Jeremias Maerki - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
PCL Renderer + gif image
FOP 0.20.5 Hello ! I have big problem with images (GIF) in PCL renderer The impression of images is very bad quality or nothing is printed what can I test or modify ? Philippe Pithon
renderer postscript : border painting
FOP 0.20.5 in postscript generation I encounter an problem it's a document with many tables, there are invisible border on the 1st page the border are invisible it's OK, but on the following pages, the border are painting ! known problem? a solution?
cvs
Hello ! I try to read source fop in cvs : cvs -d :pserver:[EMAIL PROTECTED]:/home/cvspublic login password: anoncvs but it's hold version ! can I read the source current of fop (after 0.20.5) ?
gain memory
Hello! I would like to improve the code below 2 questions: - java says to me that input.getParser() input.getInputSource() are deprecated what is necessary to use in the place ? - to gain memory, are my files well closed? --- XSLTInputHandler input = new XSLTInputHandler(new File(xml),new File(xsl)); ByteArrayOutputStream out = new ByteArrayOutputStream(); Driver driver = new Driver(); driver.setLogger(loggerFop); driver.setRenderer(Driver.RENDER_PDF); driver.setOutputStream(out); driver.render(input.getParser(),input.getInputSource()); byte[] content = out.toByteArray(); FileOutputStream fos = new FileOutputStream(pdf); fos.write(content);
RE : PCL + image gif - BMP !
indeed in bmp there is something which prints ! but it is illegible! there is no level of gray! it is is black or white it is normal? -Message d'origine- De : Chris Bowditch [mailto:[EMAIL PROTECTED] Envoyé : lundi 8 décembre 2003 17:49 À : [EMAIL PROTECTED] Objet : Re: PCL + image gif Philippe PITHON wrote: When I print document xslfo (output PCL) with image.gif, the printer (laser format PCL6) send message : unable to print file : client-error-document-format-not-supported PCL Renderer is very underdeveloped compared to the PDF Renderer. I have only ever got it working with BMP graphics. Chris - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
PCL + image gif
Hello! When I print document xslfo (output PCL) with image.gif, the printer (laser format PCL6) send message : unable to print file : client-error-document-format-not-supported if I remove image, thats run why image.gif is not accepted by PCL ? (thats run with image in format output PDF)
TR : PCL + image gif + example
Hello! When I print document xslfo (output PCL) with image.gif, the printer (laser format PCL6) send message : unable to print file : client-error-document-format-not-supported if I remove image, thats run why image.gif is not accepted by PCL ? (thats run with image in format output PDF) Example : fo:block fo:external-graphic height=119px src="" width=73px/ /fo:block
PCL6 + images problem
Hello! When I print document xslfo (output PCL) width image.gif, the printer (laser format PCL6) send message : unable to print file : client-error-document-format-not-supported if I remove image, thats works (thats works with image in format output PDF) an idea ?
border cellule color
Hello! When I make table width two cellule : -- | 1 | 2 | -- if two cellules have different border color, the border-left-color on cellule 2 erase the border-right-color on cellule 1 how not to erase the color on the border-right-color on cellule 1 ?
RE : overflow text on the cells
thank you, it's running with wrap-option=no-wrap -Message d'origine- De : J.Pietschmann [mailto:[EMAIL PROTECTED] Envoyé : mercredi 20 août 2003 21:17 À : [EMAIL PROTECTED] Objet : Re: overflow text on the cells Philippe PITHON wrote: can one make overflow text on the cells of right Try wrap-option=false, possibly combined with white-space-collapse=false and by preserving the drawing of the edges of the cells? I can't parse this. Can you elaborate? J.Pietschmann - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cut the end of a sentence if this one overflows cells
how to cut the end of a sentence if this one overflows cells ? (with wrap-option=no-wrap) its if I dont authorize the multiple-line
overflow text on the cells
Hello! can one make overflow text on the cells of right and by preserving the drawing of the edges of the cells? Example : - | | | | overflow text on the cell | | | | | | | --
nFOP
I was very surprised to read an article on nFOP (version FOP for .NET) http://www.dotnetguru.org/article.php?sid=88 how apache can it agree to see its jewel FOP turning on the Microsoft platform .NET?
not to cut a table between two page
Hello ! how to prevent a table from being to cross between two pages?
RE : not to cut a table between two page
thank you, that run ! -Message d'origine- De : Jeremias Maerki [mailto:[EMAIL PROTECTED] Envoyé : lundi 26 mai 2003 10:16 À : [EMAIL PROTECTED] Objet : Re: not to cut a table between two page See: http://xml.apache.org/fop/compliance.html#fo-property-keep-with-next On 26.05.2003 09:23:46 Philippe PITHON wrote: how to prevent a table from being to cross between two pages? Jeremias Maerki - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
page-number
Hello: can we initialize the number of page to 0 at page break? fo:block break-after=page/ explanation: in my xsl treatment, I included the option: page-number and I would like in the 5th page classification sets out again to zero is this possible?
HELP HELP HELP PERFORMANCE !!!!
We commencons to publish large editions with FOP: countable listing, ledger... and render FOP explodes of everywhere!!! version FOP 0.20.5 xml size : approximately 2Mo. Xms : 256Mo Impossible to make page breaks because they are listings can you tell us the date of release of your version miracle? I dont know any more what to make and more what think...
HELP HELP HELP PERFORMANCE !!!!
We start to publish large editions with FOP: countable listing, ledger... and render FOP explodes of everywhere!!! version FOP 0.20.5 xml size : approximately 2Mo. Xms : 256Mo Impossible to make page breaks because they are listings can you tell us the date of release of your version miracle? I dont know any more what to make and more what think...
HELP HELP HELP PERFORMANCE - there remains blocked on approximately page 100
the problem occurs during render FOP there remains blocked on approximately page 100 if somebody of team FOP could answer... --- We start to publish large editions with FOP: countable listing, ledger... and render FOP explodes of everywhere!!! version FOP 0.20.5 xml size : approximately 2Mo. Xms : 256Mo Impossible to make page breaks because they are listings can you tell us the date of release of your version miracle? I dont know any more what to make and more what think...
RE : How to stop a render FOP ?
Thank you for your answer! therefore, the only means of stopping a render, it's to put FOP in Thread (and to stop the Thread) But, how did you make to redirect the logger towards a dialog box? Philippe. -Message d'origine- De : Patrick Dean Rusk [mailto:[EMAIL PROTECTED] Envoyé : vendredi 7 février 2003 18:00 À : [EMAIL PROTECTED] Objet : RE: How to stop a render FOP ? How to stop a render FOP ? Philippe, I'm going to assume that you want a human or a program to stop a FOP run that is embedded in a program that should otherwise remain running. If you mean the command line, you can, of course, use ^C or whatever interrupt command is appropriate to your shell. It would be preferable to be able to run FOP in a separate thread, and then set some flag from the main thread that FOP would notice and abort on. If such a simple, programmatic mechanism for doing this exists, I don't know of it. I have been able to implement the following though I wanted to put up a modal progress dialog that would indicate how many pages have been rendered thus far. I did this by creating ProgressDialogLogger, an implementation of the org.apache.avalon.framework.logger.Logger interface, and set it as the logger for the rendering run. Then, from the main thread I put up the modal progress dialog with an initial message of Initializing Then I launch FOP in a separate thread. Every time FOP logs a message, particularly the INFO messages counting off the rendered pages, I update the message in the progress dialog. When FOP finishes, the dialog is disposed of. That all worked fine. Then I wanted to put a Cancel button on the dialog. The Cancel button sets a flag on the ProgressDialogLogger. The next time that FOP attempts to log a message, the ProgressDialogLogger notices this flag and throws a CancelError, a subclass of Error. I chose an Error subclass on the assumption that FOP would not have any catch (Error error) blocks, which appears correct. Then, my background thread running FOP catches the CancelError, closes the streams it opened for FOP, disposes of the progress dialog, and exits. Hope this helps. Patrick Rusk - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE : Generating ASCII output
to want to create pure XSL (for ASCII output) after having made XSLFO is perhaps not either the good solution! for example, in XSLFO, if a table overflows on another page, the heading of page it's repeated it's XSLFO which automatically calculates the number of line per page But, in pure XSL (for ASCII output), how automatically to put a number of line per page and to repeat the headings? Philippe. -Message d'origine- De : Illiano, Vincent [mailto:[EMAIL PROTECTED] Envoyé : vendredi 7 février 2003 20:35 À : '[EMAIL PROTECTED]' Objet : RE: Generating ASCII output Thanks for the tip. I may indeed end up doing what you suggest - use Xalan directly to get text output. But before I take that plunge, some have mentioned tweaking textCPI and textLPI. How is this done? In the stylesheet? If it requires modifying the FOP Java code, I'd rather not ;) Thanks again, -Vincent -- From: Chris Bowditch[SMTP:[EMAIL PROTECTED] Reply To: [EMAIL PROTECTED] Sent: Friday, February 07, 2003 12:16 PM To: [EMAIL PROTECTED] Subject: Re: Generating ASCII output Hi Vincent, in general terms an XSL Formatting engine is the wrong tool for generating Character Text output. A XSL Formatting engine works with precise coordinates for formatting objects, i.e. the text and when this is translated by a Text Renderer, the coordinates must be rounded to the nearest line or character offset. Hence why some lines sit ontop of one another and spacing between characters is not right. I recommend you write an XSL stylesheet that processes your XML directly to Text. Theres no need for an XSL Formatter to work out pre-cise coordinates for your text, only to convert these coordinates back to a character driven textual output. From: Illiano, Vincent [EMAIL PROTECTED] Hi List, I've built a document-generation system around FOP to create both PDF and ASCII text documents. To create the ASCII text output file, I use the -txt command line argument to FOP. I have a couple of small problems with the ASCII text output. Every 30 lines or so in the generated output file, a line of output is written over the previous output line. The next line, instead of being written on a new line, is written again over the previous line. Visually, the 2nd line overlays the previous line. Characters on the previous line will show in the output if the next line contains a space at that character position. Another problem I'm seeing is that every so often, there is no space between words in the text output. So I'm wondering if I've defined my document correctly for ASCII output. Am I using the wrong font-family, font-size, line-height? There is are my current settings: fo:root text-align=start font-size=7.2pt font-family=Courier line-height=10.4pt /fo:root Thanks for any information on this. -Vincent - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] _ MSN Messenger - fast, easy and FREE! http://messenger.msn.co.uk - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE : PS PostScript
Hello ! We also currently develop tools to generate invoices with FOP (on server) For the moment, we generate pdf then print the file with acrobat reader (linux or Windows) why not print with pdf or PCL? the test which I had carried out with PS were not very conclusive! We will have to print on dot-matrix printers? A few times ago, you had carried out tests on dot-matrix... did you progress? -Message d'origine- De : Mirko Sertic [mailto:[EMAIL PROTECTED] Envoyé : mercredi 29 janvier 2003 15:26 À : [EMAIL PROTECTED] Objet : AW: PS PostScript Hello! that sounds not so good. Given the following requirements : 1. i need to produce an invoice or order using fop. 2. i need to specify the tray to which each page is printed out. 3. i want to support non ps-able printer. 4. i need a pdf file for our archive system. How could this be done? My first thought was to run a post-process after fop. It thould take the pdf result, split it using a given definition using itext and finally send it to a network printer hosted by our linux host. But that sounds really strange and is far to complex, not to think about its robustness. It also would result a really huge printcap file, due to the different initial sequences for each pager tray on each printer. Another idea is to extend the pdf renderer that it can produce ps pass thru paper tray selection code. The definition what should be printed where and how would be stored somewhere in my source data and would be adressed using xpath and a page-sequence extension. The final result should be converted to ps using pdf2ps and be send to a printer using ghostscript ( some newsgroups entries says that tray selection is supported in gs 6.x, but i really do not know ). I really want to do it this way. We could define the tray configuration in our source data and we do not neet to run a ugly post process. If i understand the source code right , the point i would need to hack is the renderPage method. Everything else would be left fine as it is. What do you think ?? Cheers Mirko -Ursprungliche Nachricht- Von: Jeremias Maerki [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 29. Januar 2003 14:13 An: [EMAIL PROTECTED] Betreff: Re: PS PostScript On 29.01.2003 12:59:59 Mirko Sertic wrote: Is there any way to generate PS pass thru via pdfmark using the PDF-renderer? No. Can i do this using the PS renderer? Also no. I need a way to specify the paper input and output tray for each rendered page. Has anybody done this before ? Now, you're getting a yes. :-) I've done this. I've produced PDF converted it to PostScript using Acrobat Reader 4.05 on Unix (Linux and Solaris). The generated PostScript can be easily parsed because it follows the DSC conventions (Document Structuring Conventions, Specs at Adobe in the PostScript section). I've then patched the PostScript file with the necessary instructions for the target printer. There's one problem, though: There's currently no way to get information through which page was rendered with which page-master to get the input trays right. I ended up having XPath statements in the configuration of that system I was working on that evaluated the input XML file and generated information for the PostScript patcher to output the correct instructions for each page. Quite some work. But it's doable. The clean way, obviously, would be to extend the PostScript renderer to support PPD files which contain the instructions for selecting paper bins and the like. For that to work as expected we will need a FOP extension on the simple-page-master where we can specify the paper bins to be used because that lies outside of the XSL-FO standard. A simpler solution is to add a callback to FOP that sends you notifications of the page-master each page was layouted with. But that's just to get information on which page is on which page-master. You'll still have to do the PostScript patching. All this is on the todo list, but nobody's had the time or the need and it's probably better done in the redesign than in the maintenance branch. And if it works, will ghostscript understand that correctly and work even with a non PS-able printer? GhostScript, to my knowledge, doesn't interpret paper bin etc. instructions. Another things that you can try is to create EPS files containing the bin selection code. I doubt very much that this will work, though. Good luck. Jeremias Maerki - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
How to stop a render FOP ?
How to stop a render FOP?
table-and-caption
will table-and-caption be implemented soon ? 0.20.5 ;-) does there exist a similar command ?
RENDER_TXT
I have a problem with RENDER_TXT (FOP 0.20.5rc): error message to the line : driver.render(input.getParser(),input.getInputSource()); java.lang.RuntimeException : java.lang.nullPointerException all functions with that : driver.setRenderer(Driver.RENDER_PDF); driver.setRenderer(Driver.RENDER_PCL); but not with : driver.setRenderer(Driver.RENDER_TXT); did somebody already have this problem? My code : Logger theLogger = new NullLogger(); XSLTInputHandler input = new XSLTInputHandler(new File(xml),new File(xsl)); ByteArrayOutputStream out = new ByteArrayOutputStream(); Driver driver = new Driver(); Hierarchy hierarchy = Hierarchy.getDefaultHierarchy(); PatternFormatter formatter = new PatternFormatter( [%{priority}]: %{message}\n%{throwable} ); LogTarget target = null; FileOutputStream err = new FileOutputStream(sansExtensionResultat+.log); PrintStream errPrintStream = new PrintStream(err); target = new StreamTarget(errPrintStream, formatter); hierarchy.setDefaultLogTarget(target); log = hierarchy.getLoggerFor(fop); log.setPriority(Priority.INFO); MessageHandler.setScreenLogger(theLogger); driver.setLogger(new org.apache.avalon.framework.logger.LogKitLogger(log)); driver.setRenderer(Driver.RENDER_PDF); driver.setOutputStream(out); driver.render(input.getParser(),input.getInputSource()); byte[] content = out.toByteArray(); FileOutputStream fos = new FileOutputStream(pdf); fos.write(content);
FOP's performances...
At present there are problems of speed... To improve FOP's performances, Does anybody have to test products to compile class Java FOP ? Example: http://www.excelsior-usa.com/jet.html http://gcc.gnu.org/java/
RE: Fopping and batch printing
I have the same problem. Did you find a solution ? Otherwise, I made attempts with ghostscript 7.04 but there are the other problems... The landscape does not work -Message d'origine- De : Wayne Elliott [mailto:[EMAIL PROTECTED] Envoyé : lundi 22 avril 2002 14:29 À : [EMAIL PROTECTED] Objet : Fopping and batch printing Howdy Anyone know of the best way to batch FOP generated PDF documents for printing. In our scenario documents are queued for generation, followed by printing, using threads. We print from both a Windows 2000 GUI application and Unix server, by spawning a shell command through Runtime.exec. The commands we use are along the lines of (I'm not at work Win/Dos: c:/Program Files/Adobe/Acrobat 5.0/Reader/AcroRd32.exe + /t + file + + printerName + + driverName + + portName Unix: cat blah.pdf | acroread -toPostScript | lpr The trouble we are having is tracking the print job and knowing when to kill it. In the Dos version we can't get no exit status. In fact we currently count to 10 then kill the process. I think using Acrobat Reader to launch a print job is loony tunes, but am struggling to find a better way. Does anyone know of a better way, either to better control the shell command, or to fire PDF at a printer from Java. Also seeing some corruptiion of the margins in the Unix case. Any Unix gurus know if lpr or acroread need some flags to shrink the margin or set the page size. So many variables... Prob this is all slightly off topic. Not sure. Seems printing is a reasonable thing to do with a PDF so maybe we have all floundered a bit in this area. WPE When not Fopping, can be found floundering with style.
In what file is the number of FOP's version ?
In what file is the number of FOP's version? Because by copying FOP to another server and performer (version 0.20.3), FOP shows me 0.20.1
RE: FOP over SOAP: File in use
I had the same problem! Temporary Solution: Create a copy of the file, and read the copy ! I think that it is FOP who does not close correctly the file -Message d'origine- De : Tobias Mueller [mailto:[EMAIL PROTECTED] Envoyé : lundi 25 mars 2002 20:45 À : [EMAIL PROTECTED] Objet : FOP over SOAP: File in use Hi! I successfully got Soap and Fop up and running. I developped a WebService which generates PDF files out of several templates. PDF generation works fine, the pdf file is generated, but I can't access it via explorer, because I get a file is in use error. Tomcat still seems to have the file opened. If I stop Tomcat, I can access the file and everything is fine, but this can't be a solution :-) Did anyone have the same problems, anf if yes, how did you solve this? Greetings, Tobi
RE: problems big files xml 1Mo
Thank you! And so to end :-) By using more of fo:page-sequence I shall have no more problem of crash or slowness? Even if my file xml is 5 Mb? -Message d'origine- De : J.Pietschmann [mailto:[EMAIL PROTECTED] Envoye : mardi 26 mars 2002 21:30 A : [EMAIL PROTECTED] Objet : Re: problems big files xml 1Mo [EMAIL PROTECTED] wrote: I don't think these are the best solutions because you loose some of your XML tag formatting with xsl:text. Worse, the code will fail under certain circumstances, for reasons hard to understand for the average user. It is likely that it will always fail in future distributions of FOP. The drawbacks of using disable-output-escaping are discussed in regular intervals on the XSL list, search through their archive. A solution which always works is the following: xsl:for-each select=row[position() mod 20 = 1]/ fo:page-sequence initial-page-number=whatever xsl:apply-templates select=.|following-sibling::row[position() 19]/ ... /fo:page-sequence /xsl:for-each This is known as grouping by position, one of the simpler grouping problems. Actually, this is an XSLT problem. There is more expertise available on the XSL list, and there is an XSL FAQ at http://www.dpawson.co.uk/ J.Pietschmann
RE: problems big files xml 1Mo
I do not manage to set up this after 2 hours of attempt!!! At what level in the code it is necessary to place this paragraph? After this?: / fo:layout-master-set -Message d'origine- De : J.Pietschmann [mailto:[EMAIL PROTECTED] Envoye : mardi 26 mars 2002 21:30 A : [EMAIL PROTECTED] Objet : Re: problems big files xml 1Mo [EMAIL PROTECTED] wrote: I don't think these are the best solutions because you loose some of your XML tag formatting with xsl:text. Worse, the code will fail under certain circumstances, for reasons hard to understand for the average user. It is likely that it will always fail in future distributions of FOP. The drawbacks of using disable-output-escaping are discussed in regular intervals on the XSL list, search through their archive. A solution which always works is the following: xsl:for-each select=row[position() mod 20 = 1]/ fo:page-sequence initial-page-number=whatever xsl:apply-templates select=.|following-sibling::row[position() 19]/ ... /fo:page-sequence /xsl:for-each This is known as grouping by position, one of the simpler grouping problems. Actually, this is an XSLT problem. There is more expertise available on the XSL list, and there is an XSL FAQ at http://www.dpawson.co.uk/ J.Pietschmann
column-width automatic ?
Is there a means to calculate in automatic the width of columns following the contents?
problems big files xml 1Mo
Hello! I am a French user of FOP I read e-mails on the problems of crash and slowness on big files 1Mo And apparently there are not too many solutions Maybe being resolved in the next version ? At present I have that a page - sequence for all the document. According to the users of FOP, it's necessary of some fo:page-sequence to reduce the slowness. How to insert page-sequence everything 20 rows in xsl? (Without inserting syntaxe page in my xml) Are there other solutions? My files xml are structured as follows: row num=1 CODLT045393/CODLT DATINT1996-01-02 00:00:00.0/DATINT CODCLI99001/CODCLI CODPRODSI/CODPROD CODDOSS1/CODDOSS DUREE_HHCC8/DUREE_HHCC INTERLOC / /row row num=2 CODLT045394/CODLT DATINT1996-01-03 00:00:00.0/DATINT CODCLI99001/CODCLI CODPRODSI/CODPROD CODDOSS1/CODDOSS DUREE_HHCC8/DUREE_HHCC INTERLOC / /row