breaking paragraphs and lines

2002-11-05 Thread Stephen Haberman
Hi, After much debate between whether I'd pick up LaTeX or XML-FO as my preferred environment for writing reports and the like, I went with XML-FO, FOP specifically, and have been enjoying it so far (ah, clean separate of data and presentation). However, I've run into a small problem I thought

Re: OutOfMemoryError on Websphere, not in WSAD test environment

2002-11-05 Thread Davor Cengija
Oleg Tkachenko [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Davor Cengija wrote: We're creating some on the fly pdf files in WebSphere Application Developer (WSAD 4.0.3) and testing it in its internal WebSphere Test Environment. Everything works just fine, and PDF files are

Re: breaking paragraphs and lines

2002-11-05 Thread Oleg Tkachenko
Stephen Haberman wrote: 2) Run this result through a text manipulation program to replace all of the \n\n with /fo:blockfo:block to simulate a paragraph break. 3) Run this result through FOP. I'm thinking this will work once I get some scripts setup for it, but I'm just wondering if there is a

Root element must be root, not (none):glossary

2002-11-05 Thread Deon van der Merwe
Hi All, I searched the archive and found similar problems to this one. But the solutions do not work for me (for some reason). Here is the error that I am getting: 2002-11-05 14:11:17,978 HttpProcessor[9081][3] ERROR root - Root element must be root, not (none):glossary

How to show PDF file in jsp page II.

2002-11-05 Thread Jiri_Nejedly
Yesterday, after a few good advices there from fop users I successfuly used this code to show pdf content in browser. It works in my JDeveloper 9i. File inputFile = new File(pdfFile); FileReader fr = new FileReader(inputFile); ByteArrayOutputStream baos = new ByteArrayOutputStream(); int ch;

Re: How to show PDF file in jsp page II.

2002-11-05 Thread Oleg Tkachenko
[EMAIL PROTECTED] wrote: Yesterday, after a few good advices there from fop users I successfuly used this code to show pdf content in browser. It works in my JDeveloper 9i. File inputFile = new File(pdfFile); FileReader fr = new FileReader(inputFile); ByteArrayOutputStream baos = new

Re:xsl loop

2002-11-05 Thread xavier gibouin
Hi I would like to know if is it possible to realise à loop like : for(index=0, index++, index100) { } in xsl language thanks a lot Xavier GibouinAxonieEspace Mercoeur8, rue Mercoeur44000 Nantes02.40.48.53.23[EMAIL PROTECTED]

RE: xsl loop

2002-11-05 Thread Lihn, Steve
Here is a possible solution, use the recursive call-template. xsl:template name="myloop" xsl:param name="index" select="''"/ !-- beginning index -- xsl:param name="end" select="0"/ !-- ending index --DoMy Work Here ... xsl:if test="$end != 0 and $index != $end" xsl:variable

Re: xsl loop

2002-11-05 Thread Oleg Tkachenko
xavier gibouin wrote: I would like to know if is it possible to realise à loop like : for(index=0, index++, index100) { } in xsl language Sure. As in any functional language you can do it using recursion, e.g. see http://www.dpawson.co.uk/xsl/sect2/repetition.html -- Oleg Tkachenko eXperanto team

Re: variable and svg

2002-11-05 Thread xavier gibouin
Hi this is my code for genrate code barre from a number xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:svg="http://www.w3.org/Graphics/SVG/SVG-19990812.dtd"xsl:template name="codebarre"xsl:variable

Re: Alternate table footer

2002-11-05 Thread Jordi Llonch
Well, if somebody are interesting in the solution I found that markers should be the solution. ;) A Dimarts 05 Novembre 2002 11:22, Jordi Llonch va escriure: Hi, I am trying build an invoice and I need alternate table footer. When invoice doesn't end I want put a sentence in a footer and

Re: variable and svg

2002-11-05 Thread Paul Washinger
put braces around the variable when it is outside an xsl tag: rect height=50 width=4.0 x={$x} y=0.0/

Re: incrementing variable

2002-11-05 Thread xavier gibouin
hi this is my xsl code : xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:svg="http://www.w3.org/Graphics/SVG/SVG-19990812.dtd"xsl:variable name="x" select="10"/xsl:template name="codebarre"xsl:variable

RE: incrementing variable

2002-11-05 Thread Phil Dickinson
Xavier, Each time you use the syntax xsl:variable name="x".../ you are declaring a new local variable, not modifying the existing one! Since your output text occursbefore the new declaration, the global value is output displayed and this is always ten. Try moving the fo:block section to

RE: breaking paragraphs and lines

2002-11-05 Thread Koes, Derrick
You may want to try white-space-collapse=false as an attribute on your fo:block. There are also other white space attributes that may be useful. I'm not sure if all are supported in fop 0.20.4. -Original Message- From: Stephen Haberman [mailto:[EMAIL PROTECTED] Sent: Tuesday, November

Re: Quark workflow

2002-11-05 Thread clholm
You may want to consider Apache Cocoon. Look here: http://xml.apache.org/cocoon/index.html and (more specifically) here: http://xml.apache.org/cocoon/userdocs/serializers/pdf-serializer.html - Carl Holm Joel Gwynn wrote: Hello all. I do variable data for a printing company. I'm trying to design

Re: Quark workflow

2002-11-05 Thread Oleg Tkachenko
Joel Gwynn wrote: Quark template - Quark XML - [???] - FOP - PDF How do I get from Quark XML to XSL-FO. Well, there is no magic here, Quark XML can be transformed into xsl-fo as any other xml using XSL Transormations language. Learn Quark XML syntax and semantics, develop such a stylesheet and

Re: OutOfMemoryError on Websphere, not in WSAD test environment

2002-11-05 Thread J.Pietschmann
Davor Cengija wrote: I'll try different fonts and FOP versions and let you know what happens. Check the memory settings of your JVM first. The Unix version may have a smaller default, or things just take up more space there (caching, threadss, whatever), or you are even using a completely

Re: breaking paragraphs and lines

2002-11-05 Thread J.Pietschmann
Koes, Derrick wrote: You may want to try white-space-collapse=false as an attribute on your fo:block. There are also other white space attributes that may be useful. I'm not sure if all are supported in fop 0.20.4. None of them is supported in 0.20.4. J.Pietschmann