Re: xmlns:fo secure link

2003-02-20 Thread J.Pietschmann
Graham Lange wrote: xmlns:xsl="" This should be xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; without the angle brackets. Note that these strings are just used as strings, they are never dereferenced, nor is anything ever downloaded from the endpoint by F

More newbie hyphenation and option flag issues with docbook.xml --> fo -->pdf

2003-02-20 Thread Aaron Weber
Hello all, I've checked through the archives and FAQ, and sure enough, hyphenation looks like a pretty common issue but I'm still having a little trouble with it. I'm using a docbook XML file which I converted to .fo using xmlto, and I'm now trying to take that file and turn it into a PDF.

Re: Writing efficient XSL

2003-02-20 Thread J.Pietschmann
Lee, Insoo wrote: I basically have one big table because I need to repeat column headings.. Have you checked whether you can put the repeating header into the static-content of the region-before? > I can generate FO object relative quickly, but when generating 20 pages, it > takes about 5 minutes.

Re: page-number

2003-02-20 Thread J.Pietschmann
Myriam Delperier wrote: i've made an error when i wrote the message i've put it on the third. but it doesn't work. If i don't do anything my page has the number 3 and if I put the attribute the page still has the number 3 but i've got 2 white pages before : page1 anf page 2 That's odd. Can you post

Re: FOP and Acrobat Reader: full screen

2003-02-20 Thread J.Pietschmann
Hans Åkermark wrote: I am trying to export PDF from XML via FOP to be shown as a presentation in Acrobat Reader (we use one XSL for the print version and another for the presentation). My difficulty is the presentation that I want to view in the Full Screen mode (CTRL+L in Reader). The problem is t

RE: Writing efficient XSL

2003-02-20 Thread Savino, Matt C
Title: RE: Writing efficient XSL If you can "generate the FO object relatively quickly", then you should be already past the XSL stage and into the FO processing (Driver.run()). Unless I am interpreting this wrong. If so try writing your FO out to a file to see how long it takes. How many pa

Re: footnote-separator

2003-02-20 Thread J.Pietschmann
Magnus Sjöberg wrote: Are there any significant problems with adding support for the footnote-separator (in terms of coding complexity), or is it just a low.priority fix?? If not, I might take some time to look at it, since it would be a nice feature to have Start with Footnote.java and track how t

RE: Writing efficient XSL

2003-02-20 Thread Calero, Roberto
Title: RE: Writing efficient XSL If your concern is performance I would consider putting all the children  of as attributes of it. Your code is wasting too much processor for retrieving each children of 5 minutes seems to be too much time... if you are using windows, you may want to start

Re: Question about white-space-treatment="preserve" !!!

2003-02-20 Thread J.Pietschmann
Calero, Roberto wrote: For the following properties: white-space-collapse See FAQ. linefeed-treatment Not implemented white-space-treatment Not properly implemented. J.Pietschmann - To unsubscribe, e-mail: [

Re: How do you set the memory size for FOP

2003-02-20 Thread J.Pietschmann
Patrick Dean Rusk wrote: Not sure what it defaults to if you don't specify a unit. It is *bytes*. The specified amount is clipped to a certain minimum, 4MB or 8MB I think. J.Pietschmann - To unsubscribe, e-mail: [EMAIL PROTECTED] F

RE: Writing efficient XSL

2003-02-20 Thread Lee, Insoo
Title: RE: Writing efficient XSL   Hi, I have something like this       Prior Day Rates  for 19 Feb 2003    1 Feb 2003  19 Feb 2003  leeins  1%20Feb%202003  19%20Feb%202003  Thu%2023%20Jan%202003%203:05:34%20PM%20ET  Thu 23 Jan 2003 3:05:34 PM ET  0  ALL      GF6  ILA Trea

RE: Writing efficient XSL

2003-02-20 Thread Calero, Roberto
Title: RE: Writing efficient XSL How about the data file? -Original Message- From: Lee, Insoo [mailto:[EMAIL PROTECTED]] Sent: Friday, February 21, 2003 4:01 AM To: [EMAIL PROTECTED] Subject: Writing efficient XSL Could you please take a quick look at my XSL and see where I can i

FOP output to TIFF

2003-02-20 Thread David Blevins
Hello All, I've been using FOP on various things for a few months now and have never needed to join the list and ask a question -- a sign of good software. I has the same experience with Ant, look there that is now. Hats off to FOP, it's a very valuable tool. Now I have my first question, so her

RE: [repost] break-before attribute and xpath following sibling axis

2003-02-20 Thread Roland Neilands
> I repost this message because I haven't find the solution yet ! This is probably one for the XSL experts: http://www.mulberrytech.com/xsl/xsl-list/ Cheers, Roland - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional comm

RE: xmlns:fo secure link

2003-02-20 Thread Graham Lange
I am using a servlet to generate the PDF, and the post from the servlet goes to the browser via https. Tomcat IS configured to accept connections via https, The entire site is currently running via https successfully. The only time I get an error is when generating the PDF. I assumed that the xml

Re: xmlns:fo secure link

2003-02-20 Thread Jeremias Maerki
Don't confuse URIs with URLs. URIs like "http://www.w3.org"; have NOTHING to do with the HTTP protocol. The "http://"; prefix is simply often misused and can therefore lead to confusion, as in your case. Are you using the FOP servlet to generate PDF? And does that PDF content go to the browser

Re: Caching

2003-02-20 Thread Jeremias Maerki
Try calling org.apache.fop.image.FopImageFactory.resetCache(). On 20.02.2003 13:05:13 Matthew Lancashire wrote: > Is there a way to clear images from the cache when using the > tranformerfactory>driver>pdf solution Jeremias Maerki ---

Re: text disappear in svg

2003-02-20 Thread Jeremias Maerki
On 20.02.2003 07:12:04 Raimo Manninen wrote: > When I set strokeSVGText to false texts in svg images disappears. > This happens with some pdf viewers and sometimes when printed. > I tested this with fop-0.20.4 and fop-0.20.5rc2. > No problems when strokeSVGText is true but quality is then bad, a

xmlns:fo secure link

2003-02-20 Thread Graham Lange
Hello, I am running an FOP project on a secure web server. The server is Redhat 7.3 with Apache 1.3 and Tomcat 4, FOP version 0.20.4 The problem I am having is with the namespace. Is there any way that I can get a secure version of the namespace so that I dont get a warning when the PDF is

Re: break-before attribute

2003-02-20 Thread s-oualid
There is still one question : I do this test in a tag, when I call this template, I do a sort : Do this test : page take the sorted data or the original XML datas ? In other words, should I do a first transformation to sort my data in order to be able to do this test c

RE : left ident a table

2003-02-20 Thread s-oualid
Luiz, I'm not sure to understand the problem. So, maybe that's a wrong idea (I'm not a xsl:fo guru ;o)) but I would use a blind column to indent the table. Cheers, Simon Luiz Cez

Re: break-before attribute

2003-02-20 Thread s-oualid
You are right again Oleg, many thanks to you ! I really need to improve my XPath knowledge... I'm really impressed by the power of XSL Transformations. And this feeling grows every day ! ;o) Simon Oleg Tkachenko wrote: > Nope, SOUSTHEME != following-sibling::SOUSTHEME is true if and only

left ident a table

2003-02-20 Thread Luiz Cezar Medeiros Filho
Is there some way to left-indent a entire table from the xsl-region-body left margin ?? I tried to use space-start attibute in the fo:table tag but when i try to specify a color background or a margin for a cell, only the text is indented, the border and the background starts at the most

Re: break-before attribute

2003-02-20 Thread Oleg Tkachenko
Oleg Tkachenko wrote: Nope, SOUSTHEME != following-sibling::SOUSTHEME is true if and only if all follwing SOUSTHEME siblings have the same string value as SOUSTHEME children of current node. Wrong guess. SOUSTHEME != following-sibling::SOUSTHEME is true is there is at least one following sibling

Re: break-before attribute

2003-02-20 Thread Oleg Tkachenko
[EMAIL PROTECTED] wrote: I think my XPath expression is right : "SOUSTHEME != following-sibling :: SOUSTHEME". Nope, SOUSTHEME != following-sibling::SOUSTHEME is true if and only if all follwing SOUSTHEME siblings have the same string value as SOUSTHEME children of current node. Use SOUSTHEME !=

Re: schema

2003-02-20 Thread Oleg Tkachenko
Myriam Delperier wrote: Which schema should I use, to be sure that my fo files are well formatted for my version of fop? Unfortunately xsl-fo syntax cannot be fully expressed in W3C XML Schema. There is a plan to create schematron schema or XSL validator (as in XEP), but it's not implemented yet.

Re: empty pdf file

2003-02-20 Thread Oleg Tkachenko
Rabih Yassine wrote: For each bundle i want to write the Bundle Number and no of subscribers on a new page. But when i use i will have only one bundle on a new page although in my xml file i have 3 bundle lists. You should have each bundle starting new page. Sorry, isn't it what are you asking f

Writing efficient XSL

2003-02-20 Thread Lee, Insoo
Could you please take a quick look at my XSL and see where I can improve it?... I know it's a very vague request, but I would appreciate any comments or advice... I can generate FO object relative quickly, but when generating 20 pages, it takes about 5 minutes.. (Driver.run()) and I think my XSL i

[repost] break-before attribute and xpath following sibling axis

2003-02-20 Thread s-oualid
I repost this message because I haven't find the solution yet ! This test always return TRUE : And the old one always return FALSE : Please someone, any idea ? I thought it was an error with sorting, here's my apply templates FICHE tag : But I removed it and nothing change ...

Re: table-row +border

2003-02-20 Thread s-oualid
> Is the border stuff not implementd for table-row ? I'm using FOP 0.20.4. >> I think borders are implemented on cells only. The answer is here : http://xml.apache.org/fop/implemented.html http://xml.apache.org/fop/compliance.html Simon ---

Re: page-number

2003-02-20 Thread Myriam Delperier
thanks for ou help, I've found by problem ; i had a break-before="odd-page" on my fisrt block of the page-sequence :-) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: table-row +border

2003-02-20 Thread MARTIN Franck
i think borders are implemented on cells only - Original Message - From: "Peter Menzel" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, February 20, 2003 3:47 PM Subject: table-row +border > Hi > > I try to use > to achieve row separating lines in my tale, but it does not wor

table-row +border

2003-02-20 Thread Peter Menzel
Hi I try to use

Re: page-number

2003-02-20 Thread MARTIN Franck
When you start a new page-sequence the counter goes back to 1 so you don't need to use any special attribute. Fop should wrn you when there's no more page-sequence to put the fow content to. are you sure there no warnings or errors? You should post a sample of your xsl stylesheet - Original Mes

Re: page-number

2003-02-20 Thread Myriam Delperier
i've made an error when i wrote the message i've put it on the third. but it doesn't work. If i don't do anything my page has the number 3 and if I put the attribute the page still has the number 3 but i've got 2 white pages before : page1 anf page 2 - Original Message - From: "MARTIN Fran

Re: page-number

2003-02-20 Thread MARTIN Franck
It's not surprising. You should put initial-page-number=1 on the third page-sequence! - Original Message - From: "Myriam Delperier" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, February 20, 2003 3:18 PM Subject: page-number > I've got an fo document which contains 3 page-s

page-number

2003-02-20 Thread Myriam Delperier
I've got an fo document which contains 3 page-sequence, and I'd like the first page of the third-page-sequence to start with a page number= 1 even if it's not the first page of my whole document(because of my 2 others page-sequences). I've tryed to put on my first page-sequence the attribute init

RE: usage (was : empty pdf file)

2003-02-20 Thread s-oualid
"Rabih Yassine" <[EMAIL PROTECTED]> wrote : > For each bundle i want to write the Bundle Number and no of subscribers on a > new page. > But when i use i will have only one bundle on > a new page although in my xml file i have 3 bundle lists. It would be easier to answer your question with an

break-before attribute

2003-02-20 Thread s-oualid
Hi, I am trying to use the break-before attribute to put a page break when I test a category changement in the XML. Here is my XSL code : - page -

schema

2003-02-20 Thread Myriam Delperier
Which schema should I use, to be sure that my fo files are well formatted for my version of fop? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Caching

2003-02-20 Thread Matthew Lancashire
Is there a way to clear images from the cache when using the tranformerfactory>driver>pdf solution Matthew Lancashire IT Project Manager Initial Electronic Security Ltd Tel: +44 1282 473554 Fax: +44 1254 267552 - To unsubscribe

Re: brain dead newbe

2003-02-20 Thread Roger Roelofs
Oleg, That's what I did. It worked great. It took a while to get the concept that it is ok for regions to overlap. On Thursday, Feb 20, 2003, at 02:40 America/Detroit, Oleg Tkachenko wrote: Roger Roelofs wrote: Thanks. My problem was that I need a double border around the page and I had use

RE: empty pdf file

2003-02-20 Thread Rabih Yassine
ok. Suppose i have a list in an xml file say bundles. Every list has some data in it. For example i have this:

Re: empty pdf file

2003-02-20 Thread Oleg Tkachenko
Rabih Yassine wrote: I have this in my xsl file: . I guess this is breaking the loop. What do you mean? Also, How can i name column names in a table? Why? -- Oleg Tkachenko Multiconn Technologies, Israel -

RE : Transparent background in GIF

2003-02-20 Thread s-oualid
Hi ! I actually use transparent GIF in my generated PDF. It worked nice with fop 0.20.4 and 0.20.5rc2. I think this may be a problem with your image encoding, here is one example of a gif I made to be used with fop. http://www.tatouage.fr/temp/cd_bord_histoire_ancienne_even.gif And here's a r

RE: empty pdf file

2003-02-20 Thread Rabih Yassine
I have this in my xsl file: . I guess this is breaking the loop. Also, How can i name column names in a table? -Original Message- From: Oleg Tkachenko [mailto:[EMAIL PROTECTED] Sent: Thursday, February 20, 2003 11:39 AM To: [EMAIL PROTECTED] S

Re: footnote-separator

2003-02-20 Thread Oleg Tkachenko
Magnus Sjöberg wrote: Are there any significant problems with adding support for the footnote-separator (in terms of coding complexity), or is it just a low.priority fix?? Actually I have no idea how much efforts it's going to take. If not, I might take some time to look at it, since it would be a

Re: footnote-separator

2003-02-20 Thread Myriam Delperier
> Actually footnote-body content is defined as (%block;)+, where %block; is block > block-container > table-and-caption > table > list-block > Are you valid with it? i've got this 196 196 blah blah blah and i've got a problem if I put something (the block which contains the emp

Re: footnote-separator

2003-02-20 Thread Oleg Tkachenko
Myriam Delperier wrote: that's true, moreover, each time I want to put somenthing else than a block in a footnote-body I've got a null pointer exception Actually footnote-body content is defined as (%block;)+, where %block; is block block-container table-and-caption table list-block Are you valid w

Re: footnote-separator

2003-02-20 Thread Magnus Sjöberg
Sorry for giving bad advice, I was thinking about a page footer separator, not handling the case with several footnotes. Are there any significant problems with adding support for the footnote-separator (in terms of coding complexity), or is it just a low.priority fix?? If not, I might take some t

Re: footnote-separator

2003-02-20 Thread Myriam Delperier
> The problem is that you will have that separator before each footnote body, > because there is no general way to know which footnote is first one on a page. that's true, moreover, each time I want to put somenthing else than a block in a footnote-body I've got a null pointer exception

Re: footnote-separator

2003-02-20 Thread Oleg Tkachenko
Magnus Sjöberg wrote: You could use an 'empty' table, and set the border-x attributes. This would at least give you a line separator. I used this a while ago, putting it first in the footer to achieve the 'separator' effect. The problem is that you will have that separator before each footnote body

Re: empty pdf file

2003-02-20 Thread Oleg Tkachenko
Rabih Yassine wrote: Ok. Thanks it works now. I have another question now. If i have a list in the xml file. For example a list of bundles. And every bundle should be in a new page. How can i do that? They should be created dynamically. ... This will force page b

FOP and Acrobat Reader: full screen

2003-02-20 Thread Hans Åkermark
I am trying to export PDF from XML via FOP to be shown as a presentation in Acrobat Reader (we use one XSL for the print version and another for the presentation). My difficulty is the presentation that I want to view in the Full Screen mode (CTRL+L in Reader). The problem is to define the proper p

Re: footnote-separator

2003-02-20 Thread Magnus Sjöberg
You could use an 'empty' table, and set the border-x attributes. This would at least give you a line separator. I used this a while ago, putting it first in the footer to achieve the 'separator' effect. Example below. Called it using xsl:call-template name='footer-leader' (not nice, but works)

RE: empty pdf file

2003-02-20 Thread Rabih Yassine
Ok. Thanks it works now. I have another question now. If i have a list in the xml file. For example a list of bundles. And every bundle should be in a new page. How can i do that? They should be created dynamically. -Original Message- From: Oleg Tkachenko [mailto:[EMAIL PROTECTED] Sent:

Re: footnote-separator

2003-02-20 Thread Oleg Tkachenko
Myriam Delperier wrote: i'm sure this questions has already been asked but does anyone know if it is possible to put a separator before the first footnote of each page.? I've heard about something named xsl-footnote-separator but i don't know if it works and how it works ps: i'm using fop 0.20.5rc

Re: empty pdf file

2003-02-20 Thread Oleg Tkachenko
Rabih Yassine wrote: InputSource in = new InputSource(file); ByteArrayOutputStream out = new ByteArrayOutputStream(); Driver driver = new Driver(in, out); driver.setLogger(log); driver.setRenderer(Driver.RENDER_PDF); driver.run

footnote-separator

2003-02-20 Thread Myriam Delperier
hello i'm sure this questions has already been asked but does anyone know if it is possible to put a separator before the first footnote of each page.? I've heard about something named xsl-footnote-separator but i don't know if it works and how it works ps: i'm using fop 0.20.5rc --

RE: empty pdf file

2003-02-20 Thread Rabih Yassine
Ok. Here is the java code that i am using. But i am not getting any error messages! System.setProperty("org.xml.sax.driver", "org.apache.xerces.parsers.SAXParser"); TransformerFactory tfactory = TransformerFactory.newInstance(); File fff = new File("d:/kokee

Re: empty pdf file

2003-02-20 Thread Oleg Tkachenko
Rabih Yassine wrote: and here is the fo file (generated) http://www.w3.org/1999/XSL/Format";>OfferNumber Works fine for me. Most likely you run FOP in a wrong way and ignore error its messages. Show us how do you run FOP and what is info messages. PS. And please, turn off this annoying Return Re

RE: empty pdf file

2003-02-20 Thread Rabih Yassine
Well, here is my xlst: It is a very simple one http://www.w3.org/1999/XSL/Transform"; xmlns:fo="http://www.w3.org/1999/XSL/Format";> http://www.w3.org/1999/XSL/Format";>

Re: empty pdf file

2003-02-20 Thread Oleg Tkachenko
Rabih Yassine wrote: I generated the FO file in order to generate a pdf file. But when i open the file i get nothing in it. May be due to zillion reasons. Elaborate please, what are you running, how and what are log messages. Also, I need to know how can i seperate pages? Use break-after="page"

Re: Javadoc for org.apache.fop.apps.*

2003-02-20 Thread Oleg Tkachenko
Lee, Insoo wrote: Where can I see javadoc for org.apache.fop.apps.* Download FOP and run build javadocs -- Oleg Tkachenko Multiconn Technologies, Israel - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

Re: html output format

2003-02-20 Thread Oleg Tkachenko
Dmitri Colebatch wrote: You don't need FOP to get html, just use your favorite XSLT processor. yes, an XSLT processor _and_ a stylesheet. Stylesheet is a general term. You are talking about XSLT stylesheet, which transforms your custom XML to HTML - that's trivial XSLT task, you don't need neith

Re: brain dead newbe

2003-02-20 Thread Oleg Tkachenko
Roger Roelofs wrote: Thanks. My problem was that I need a double border around the page and I had used absolutely positioned block-containers to get it. Once I removed them the pagination worked just great. What about moving border to before, after, start and end regions? -- Oleg Tkachenko Mult

Re: tableRow larger than a page

2003-02-20 Thread Oleg Tkachenko
Marcio Lopes wrote: I would like to know if it is possible to have pagination in both direction of a page: left to right and top to botton. So when a table does not fit in a single page new pages are spawned!! Unfortunately not, XSL-FO 1.0 doesn't support it. This is well known requirement, so-cal

empty pdf file

2003-02-20 Thread Rabih Yassine
Hello, I generated the FO file in order to generate a pdf file. But when i open the file i get nothing in it. Also, I need to know how can i seperate pages? Thanks - To unsubscribe, e-mail: [EMAIL PROTECTED] For additiona

text disappear in svg

2003-02-20 Thread Raimo Manninen
When I set strokeSVGText to false texts in svg images disappears. This happens with some pdf viewers and sometimes when printed. I tested this with fop-0.20.4 and fop-0.20.5rc2. No problems when strokeSVGText is true but quality is then bad, as we know. Example SVG image: -- http://www

Transparent background in GIF

2003-02-20 Thread Zhong Yi
Hi, I met a problem of PDF generated by FOP. The attached small gif image has a transparent background in it. When I use FOP to generate a document with this image, the transparent part did not get rendered correctly. In Adobe, the area it white, in print out, it's a black background. I know trans

RE : Question about white-space-treatment="preserve" !!!

2003-02-20 Thread s-oualid
I personally used the "white-space-collapse" property with the 0.20.4 and 0.20.5rc2 version of fop. It worked well ! Don't tried the others yet... But look at : http://xml.apache.org/fop/implemented.htmlhttp://xml.apache.org/fop/compliance.html Simon-"Calero, Roberto" <[EMAIL PROTECTED]> a écri

Réf. : Javadoc for org.apache.fop.apps.*

2003-02-20 Thread s-oualid
Hi ! Just download the source distribution of fop. You'll find everything needed here. http://xml.apache.org/dist/fop/http://xml.apache.org/dist/fop/fop-0.20.5rc-src.tar.gz Simon -"Lee, Insoo" <[EMAIL PROTECTED]> a écrit : -Pour : [EMAIL PROTECTED]De : "Lee, Insoo" <[EMAIL PROTECTED]>Date :