Re: It´s posible sign a pdf with fop?

2003-10-13 Thread Jochen . Maes

you might wanna check out iText (google on lowagi and iText)

greetings
Jochen Maes
ICT Development


KBC Securities (kbcsecurities.com)
Havenlaan 12 Avenue du Port SIF 8683
B-1080 Brussels
Belgium

 Tel:  +32 2 429 96 81  

 GSM:  +32 496 57 90 99 

 E-mail :  [EMAIL PROTECTED] 





This message and any attachments hereto are for the named person's use
only. It may contain confidential, proprietary or legally privileged
information. You may not, directly or indirectly, use, disclose,
distribute, print, or copy any part of this message if you are not the
intended recipient. If you have received this e-mail message without being
the intended recipient, please notify KBC Securities promptly and delete
this e-mail. Any views expressed in this message are those of the
individual sender, except where the message states otherwise and the sender
is authorised to state them to be the views of KBC Securities. KBC
Securities reserves the right to monitor all e-mail communications through
its networks and any messages addressed to, received or sent by KBC
Securities or its employees are deemed to be professional in nature. The
sender or recipient of any messages to or of KBC Securities agrees that
those may be read by other employees of KBC Securities than the stated
recipient or sender in order to ensure the continuity of work-related
activities and allow supervision thereof. KBC Securities does not accept
liability for the correct and complete transmission of the information, nor
for any delay or interruption of the transmission, nor for damages arising
from the use of, or reliance on, the information.



  
Infor 
  
[EMAIL PROTECTED]To: [EMAIL PROTECTED]   
 
rg  cc:
  
 Subject: It´s posible sign a pdf 
with fop?   
13/10/2003  
  
10:24   
  
Please  
  
respond to  
  
fop-user
  

  

  






I need make a program that take a sign pdf, stamp a watermark and sign the
second revision of the document. Is it posible ?




RESUME:

Input: Receive a sign pdf

Process:  1. Stamp a watermark
2. Sign the pdf.  (the second revision with the
stamp)

Output:
 A pdf with two signs.







-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: xpath question

2003-03-31 Thread Jochen . Maes

try

xsl:when test=13=sum(count(./elections)+count(./dependents))

and it should work


greets


Jochen Maes
ICT Development


KBC Securities (kbcsecurities.com)
Havenlaan 12 Avenue du Port SIF 8683
B-1080 Brussels
Belgium

 Tel:  +32 2 429 96 81  

 GSM:  +32 496 57 90 99 

 E-mail :  [EMAIL PROTECTED] 





This message and any attachments hereto are for the named person's use
only. It may contain confidential, proprietary or legally privileged
information. You may not, directly or indirectly, use, disclose,
distribute, print, or copy any part of this message if you are not the
intended recipient. If you have received this e-mail message without being
the intended recipient, please notify KBC Securities promptly and delete
this e-mail. Any views expressed in this message are those of the
individual sender, except where the message states otherwise and the sender
is authorised to state them to be the views of KBC Securities. KBC
Securities reserves the right to monitor all e-mail communications through
its networks and any messages addressed to, received or sent by KBC
Securities or its employees are deemed to be professional in nature. The
sender or recipient of any messages to or of KBC Securities agrees that
those may be read by other employees of KBC Securities than the stated
recipient or sender in order to ensure the continuity of work-related
activities and allow supervision thereof. KBC Securities does not accept
liability for the correct and complete transmission of the information, nor
for any delay or interruption of the transmission, nor for damages arising
from the use of, or reliance on, the information.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Table space from left

2003-03-18 Thread Jochen . Maes
I want to display my table 2 mm more to the right, but i can't get it
right, here is the code.
can someone help me?

xsl:template name=heading
fo:block space-after.optimum=10pt
  fo:table background-color=#ABABAB padding=2pt border-width=.2mm
  border-style=solid border-color=black
fo:table-column column-width=5.8cm/
fo:table-column column-width=4.5cm/
fo:table-column column-width=5.5cm/
fo:table-body
   fo:table-row
 fo:table-cell background-color=#ABABAB padding=2pt
   fo:block font-size=9pt font-family=Helvetica text-align
=start font-weight=bold
 xsl:value-of select=XML_Stream/General_Data/Client_Name
/
   /fo:block
 /fo:table-cell
 fo:table-cell background-color=#ABABAB padding=2pt
   fo:block font-family=Helvetica font-size=9pt text-align
=end font-weight=bold
 xsl:textCliëntnummer: /xsl:text
 xsl:value-of select=XML_Stream/General_Data/Client_Nbr
/
   /fo:block
 /fo:table-cell
 fo:table-cell background-color=#ABABAB padding=2pt
   fo:block font-family=Helvetica font-size=9pt text-align
=end font-weight=bold
 xsl:textDatum Overzicht: /xsl:text
 xsl:value-of select=
XML_Stream/Document_Body/Level/Currency_Level/Detail_Portfolio/@date/
   /fo:block
 /fo:table-cell
   /fo:table-row
/fo:table-body
  /fo:table
/fo:block
  /xsl:template
Jochen Maes
ICT Development


KBC Securities (kbcsecurities.com)
Havenlaan 12 Avenue du Port SIF 8683
B-1080 Brussels
Belgium

 Tel:  +32 2 429 96 81  

 GSM:  +32 496 57 90 99 

 E-mail :  [EMAIL PROTECTED] 





This message and any attachments hereto are for the named person's use
only. It may contain confidential, proprietary or legally privileged
information. You may not, directly or indirectly, use, disclose,
distribute, print, or copy any part of this message if you are not the
intended recipient. If you have received this e-mail message without being
the intended recipient, please notify KBC Securities promptly and delete
this e-mail. Any views expressed in this message are those of the
individual sender, except where the message states otherwise and the sender
is authorised to state them to be the views of KBC Securities. KBC
Securities reserves the right to monitor all e-mail communications through
its networks and any messages addressed to, received or sent by KBC
Securities or its employees are deemed to be professional in nature. The
sender or recipient of any messages to or of KBC Securities agrees that
those may be read by other employees of KBC Securities than the stated
recipient or sender in order to ensure the continuity of work-related
activities and allow supervision thereof. KBC Securities does not accept
liability for the correct and complete transmission of the information, nor
for any delay or interruption of the transmission, nor for damages arising
from the use of, or reliance on, the information.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: dynamic table

2003-03-17 Thread Jochen . Maes

do a xml-for each on the xmltag that specifies the table, when setting the
fo:column column-width and around the table-cells...
Jochen Maes
ICT Development


KBC Securities (kbcsecurities.com)
Havenlaan 12 Avenue du Port SIF 8683
B-1080 Brussels
Belgium

 Tel:  +32 2 429 96 81  

 GSM:  +32 496 57 90 99 

 E-mail :  [EMAIL PROTECTED] 





This message and any attachments hereto are for the named person's use
only. It may contain confidential, proprietary or legally privileged
information. You may not, directly or indirectly, use, disclose,
distribute, print, or copy any part of this message if you are not the
intended recipient. If you have received this e-mail message without being
the intended recipient, please notify KBC Securities promptly and delete
this e-mail. Any views expressed in this message are those of the
individual sender, except where the message states otherwise and the sender
is authorised to state them to be the views of KBC Securities. KBC
Securities reserves the right to monitor all e-mail communications through
its networks and any messages addressed to, received or sent by KBC
Securities or its employees are deemed to be professional in nature. The
sender or recipient of any messages to or of KBC Securities agrees that
those may be read by other employees of KBC Securities than the stated
recipient or sender in order to ensure the continuity of work-related
activities and allow supervision thereof. KBC Securities does not accept
liability for the correct and complete transmission of the information, nor
for any delay or interruption of the transmission, nor for damages arising
from the use of, or reliance on, the information.




patrick-peter.mannhar  

[EMAIL PROTECTED]To: [EMAIL 
PROTECTED] 
  cc:   

17/03/2003 16:09  Subject: dynamic table

Please respond to   

fop-user









Hi,

does smoebody knows how I can generate dynamical Tables (esp. rows!) in
XSL-FO? For ex. I def. a table with 4 columns, but the number of rows isn't
well-known at the moment?

Thank's for help
regards
patrick

-
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: xsl-region-before flow control

2003-03-13 Thread Jochen . Maes

Hi thx for replying,

yes i did look @ that...
But i wanted to avoid that, i hoped there is another way to do it.

How idi i solve it? first time i had an empty xsl:variable, and then i
printed something, just after the print i filled the variable with
something and if it isn't empty it isn't printed anymore...
that is how i did it, but it isn't always possible to do it (because of the
variable's scope)

thx anyway...

Jochen Maes
ICT Development


KBC Securities (kbcsecurities.com)
Havenlaan 12 Avenue du Port SIF 8683
B-1080 Brussels
Belgium

 Tel:  +32 2 429 96 81  

 GSM:  +32 496 57 90 99 

 E-mail :  [EMAIL PROTECTED] 





This message and any attachments hereto are for the named person's use
only. It may contain confidential, proprietary or legally privileged
information. You may not, directly or indirectly, use, disclose,
distribute, print, or copy any part of this message if you are not the
intended recipient. If you have received this e-mail message without being
the intended recipient, please notify KBC Securities promptly and delete
this e-mail. Any views expressed in this message are those of the
individual sender, except where the message states otherwise and the sender
is authorised to state them to be the views of KBC Securities. KBC
Securities reserves the right to monitor all e-mail communications through
its networks and any messages addressed to, received or sent by KBC
Securities or its employees are deemed to be professional in nature. The
sender or recipient of any messages to or of KBC Securities agrees that
those may be read by other employees of KBC Securities than the stated
recipient or sender in order to ensure the continuity of work-related
activities and allow supervision thereof. KBC Securities does not accept
liability for the correct and complete transmission of the information, nor
for any delay or interruption of the transmission, nor for damages arising
from the use of, or reliance on, the information.



   
J.Pietschman   
   
n   To: [EMAIL PROTECTED]  
 
[EMAIL PROTECTED]cc:   

oo.de   Subject: Re: xsl-region-before 
flow control   

   
12/03/2003  
   
21:40   
   
Please  
   
respond to  
   
fop-user
   

   

   




[EMAIL PROTECTED] wrote:
 I have been using FOP for more then a year and a half. Till now i needed
to
 put something on the first page but not on the others, and i solved this
 with a variable. But as you all might know it's not really clean
 programming.

 So without having to define a new page-sequence, is there a way to find
out
 if it's the first page or not?

I have no idea what you mean by solved this with a variable.
Did you look at the FAQ?
  http://xml.apache.org/fop/faq.html#fo_first_page_header

Oh, *big* thanks to Victor for stable, meaningful FAQ anchors!!!

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]



xsl-region-before flow control

2003-03-12 Thread Jochen . Maes
Hi all,

I have been using FOP for more then a year and a half. Till now i needed to
put something on the first page but not on the others, and i solved this
with a variable. But as you all might know it's not really clean
programming.

So without having to define a new page-sequence, is there a way to find out
if it's the first page or not?
Remember i'm still using 0.20.3 -- upgrade to 0.20.5 will be for around
may (i don't have the time now)

thank you all...


Jochen Maes
ICT Development


KBC Securities (kbcsecurities.com)
Havenlaan 12 Avenue du Port SIF 8683
B-1080 Brussels
Belgium

 Tel:  +32 2 429 96 81  

 GSM:  +32 496 57 90 99 

 E-mail :  [EMAIL PROTECTED] 





This message and any attachments hereto are for the named person's use
only. It may contain confidential, proprietary or legally privileged
information. You may not, directly or indirectly, use, disclose,
distribute, print, or copy any part of this message if you are not the
intended recipient. If you have received this e-mail message without being
the intended recipient, please notify KBC Securities promptly and delete
this e-mail. Any views expressed in this message are those of the
individual sender, except where the message states otherwise and the sender
is authorised to state them to be the views of KBC Securities. KBC
Securities reserves the right to monitor all e-mail communications through
its networks and any messages addressed to, received or sent by KBC
Securities or its employees are deemed to be professional in nature. The
sender or recipient of any messages to or of KBC Securities agrees that
those may be read by other employees of KBC Securities than the stated
recipient or sender in order to ensure the continuity of work-related
activities and allow supervision thereof. KBC Securities does not accept
liability for the correct and complete transmission of the information, nor
for any delay or interruption of the transmission, nor for damages arising
from the use of, or reliance on, the information.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: FOP in production app

2003-03-11 Thread Jochen . Maes

Hi there,


I'm using FOP in production and we render up to 5000 in 1 run (once a
night), another application makes pdf's continuously during the day
(0-1500)
and another application is a webapplication and reders dynamic pdf's
depending on the clients requests.

Non of the machines use more the 85 Meg mem for FOP, although they are all
dynamic, and sometimes 1 pdf goes upt to 50 pages..

depending on how you write your application FOP is stable :-]


this is a succes Story for our company!


greetings

Jochen Maes
ICT Development


KBC Securities (kbcsecurities.com)
Havenlaan 12 Avenue du Port SIF 8683
B-1080 Brussels
Belgium

 Tel:  +32 2 429 96 81  

 GSM:  +32 496 57 90 99 

 E-mail :  [EMAIL PROTECTED] 





This message and any attachments hereto are for the named person's use
only. It may contain confidential, proprietary or legally privileged
information. You may not, directly or indirectly, use, disclose,
distribute, print, or copy any part of this message if you are not the
intended recipient. If you have received this e-mail message without being
the intended recipient, please notify KBC Securities promptly and delete
this e-mail. Any views expressed in this message are those of the
individual sender, except where the message states otherwise and the sender
is authorised to state them to be the views of KBC Securities. KBC
Securities reserves the right to monitor all e-mail communications through
its networks and any messages addressed to, received or sent by KBC
Securities or its employees are deemed to be professional in nature. The
sender or recipient of any messages to or of KBC Securities agrees that
those may be read by other employees of KBC Securities than the stated
recipient or sender in order to ensure the continuity of work-related
activities and allow supervision thereof. KBC Securities does not accept
liability for the correct and complete transmission of the information, nor
for any delay or interruption of the transmission, nor for damages arising
from the use of, or reliance on, the information.




Bertrand

DelacretazTo: [EMAIL PROTECTED] 
  
[EMAIL PROTECTED]cc:   

onsult.chSubject: Re: FOP in 
production app


11/03/2003 09:23

Please respond to   

fop-user










Le Lundi, 10 mars 2003, à 18:36 Europe/Zurich, Holk, David A a écrit :

 Is anyone using FOP in a production app?
 ...

Several customers of companies that I'm working with are, daily
production of small to medium-sized documents (from a few to 250 pages).

Stability is no problem IMHO, you can get good support here (best
effort though) assuming you're ready to dig in to analyze possible
problems precisely, and you have to limit your XSL-FO documents to what
FOP can handle today.

If you keep these concerns in mind, using FOP in production is
realistic IMHO.

--
   Bertrand Delacretaz (codeconsult.ch, jfor.org)
   XML, java, XSLT, Cocoon, FOP, mentoring/programming/teaching


-
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: i18n support

2002-06-28 Thread Jochen . Maes

damned...

i'll check around meanwhile did you check the message archive? (
http://marc.theaimsgroup.com)
check as wel the fop-dev, and the fop-user mailing list...

i'll check around to..

ok?

i never use chineese characters but there must be a solution for it :D

greetings




Jochen Maes
ICT Development


KBC Securities (kbcsecurities.com)
Havenlaan 12 Avenue du Port SIF 8683
B-1080 Brussels
Belgium

 Tel:  +32 2 429 96 81  

 GSM:  +32 496 57 90 99 

 E-mail :  [EMAIL PROTECTED] 





This message and any attachments hereto are for the named person's use
only. It may contain confidential, proprietary or legally privileged
information. You may not, directly or indirectly, use, disclose,
distribute, print, or copy any part of this message if you are not the
intended recipient. If you have received this e-mail message without being
the intended recipient, please notify KBC Securities promptly and delete
this e-mail. Any views expressed in this message are those of the
individual sender, except where the message states otherwise and the sender
is authorised to state them to be the views of KBC Securities. KBC
Securities reserves the right to monitor all e-mail communications through
its networks and any messages addressed to, received or sent by KBC
Securities or its employees are deemed to be professional in nature. The
sender or recipient of any messages to or of KBC Securities agrees that
those may be read by other employees of KBC Securities than the stated
recipient or sender in order to ensure the continuity of work-related
activities and allow supervision thereof. KBC Securities does not accept
liability for the correct and complete transmission of the information, nor
for any delay or interruption of the transmission, nor for damages arising
from the use of, or reliance on, the information.



Re: Avoiding the logging messages generated when PDF generation is happening

2002-06-27 Thread Jochen . Maes

Use the logger included (check the docs or the website) and set logging to
fatal then ya will only log the fatal errors
and no others...


greets
Jochen Maes
ICT Development


KBC Securities (kbcsecurities.com)
Havenlaan 12 Avenue du Port SIF 8683
B-1080 Brussels
Belgium

 Tel:  +32 2 429 96 81  

 GSM:  +32 496 57 90 99 

 E-mail :  [EMAIL PROTECTED] 





This message and any attachments hereto are for the named person's use
only. It may contain confidential, proprietary or legally privileged
information. You may not, directly or indirectly, use, disclose,
distribute, print, or copy any part of this message if you are not the
intended recipient. If you have received this e-mail message without being
the intended recipient, please notify KBC Securities promptly and delete
this e-mail. Any views expressed in this message are those of the
individual sender, except where the message states otherwise and the sender
is authorised to state them to be the views of KBC Securities. KBC
Securities reserves the right to monitor all e-mail communications through
its networks and any messages addressed to, received or sent by KBC
Securities or its employees are deemed to be professional in nature. The
sender or recipient of any messages to or of KBC Securities agrees that
those may be read by other employees of KBC Securities than the stated
recipient or sender in order to ensure the continuity of work-related
activities and allow supervision thereof. KBC Securities does not accept
liability for the correct and complete transmission of the information, nor
for any delay or interruption of the transmission, nor for damages arising
from the use of, or reliance on, the information.




Abhijat Upadhyay

abhijat.upadhyay@To: 'FOP User' [EMAIL 
PROTECTED]
patni.comcc:   

  Subject: Avoiding the logging 
messages generated when PDF generation  
27/06/2002 23:06  is happening  

Please respond to   

fop-user









Hi Friends,
I am using apache fop to generate pdf through web.

Foll. is the method used for rendering pdf.
   /**
* renders an FO inputsource into a PDF file which is rendered
* to File.
*/
   public void renderFO(InputSource foFile,

FileOutputStream out) throws Exception {
 try {


   Driver driver = new Driver(foFile, out);
   driver.setRenderer(Driver.RENDER_PDF);
   driver.run();

 } catch (Exception ex) {
   throw ex;//new ServletException(ex);
 }

   }

In the log file I am getting so many warning and error messages. Can you
please
guide me how to remove these unwanted warning and error statements.

Abhijat Upadhyay
Software Engineer
Patni Computer Systems Limited
Electronic Sadan - 3, TTC Industrial Area,
Mahape, Navi Mumbai - 400 701
Tel: 91 22 761 1090 / 1105 ext. 2221
Fax: 91 22 761 9602
http://www.patni.com
World-Wide Partnerships. World-Class Solutions.
___
This e-mail message may contain proprietary, confidential or legally
privileged information for the sole use of the person or entity to whom
this
message was originally addressed. Any review, e-transmission dissemination
or other use of or taking of any
action in reliance upon this information by persons or entities other than
the intended recipient is prohibited. If you have received this e-mail in
error kindly delete this e-mail from your records. If it appears that this
mail has been forwarded to you without proper authority, please notify us
immediately at [EMAIL PROTECTED] and delete this mail.







Re: Using FOP in Tomcat server

2002-06-26 Thread Jochen . Maes

I had the same problem, and it solved it self by reputting the xalan jar in
the lib dir (inside the web-inf of the application)...
and restarting the tomcat...

You might wanna try to extract the class files and set them in the classes
dir of your web-inf,
if this solves the problem, then try to rebuild the jar and put that jar in
the lib dir...

hope this helps...


Hi,

I am using tomcat server and i have some problem using fop
i get the following error in the catalina.out file


java.lang.ClassNotFoundException: javax.xml.transform.Transformer
at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.jav

a:1394)
at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.jav

a:1243)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:313)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:120)
at org.apache.fop.apps.XSLTInputHandler.getParser(Unknown Source)
at poolinfo.PDFGenerator.getPDFReport(PDFGenerator.java:92)


Note : In the log file the relevant jar files (fop,batik,
avalon-framework,xalan-2.3.1)are deployed successfully
can anyone help me on this

Thanks
Sunil




Jochen Maes
ICT Development


KBC Securities (kbcsecurities.com)
Havenlaan 12 Avenue du Port SIF 8683
B-1080 Brussels
Belgium

 Tel:  +32 2 429 96 81  

 GSM:  +32 496 57 90 99 

 E-mail :  [EMAIL PROTECTED] 





This message and any attachments hereto are for the named person's use
only. It may contain confidential, proprietary or legally privileged
information. You may not, directly or indirectly, use, disclose,
distribute, print, or copy any part of this message if you are not the
intended recipient. If you have received this e-mail message without being
the intended recipient, please notify KBC Securities promptly and delete
this e-mail. Any views expressed in this message are those of the
individual sender, except where the message states otherwise and the sender
is authorised to state them to be the views of KBC Securities. KBC
Securities reserves the right to monitor all e-mail communications through
its networks and any messages addressed to, received or sent by KBC
Securities or its employees are deemed to be professional in nature. The
sender or recipient of any messages to or of KBC Securities agrees that
those may be read by other employees of KBC Securities than the stated
recipient or sender in order to ensure the continuity of work-related
activities and allow supervision thereof. KBC Securities does not accept
liability for the correct and complete transmission of the information, nor
for any delay or interruption of the transmission, nor for damages arising
from the use of, or reliance on, the information.



Re: Memory usage w/ FOP

2002-06-25 Thread Jochen . Maes

Hi Philip,

I made a mailing for 14000 documents (roughly) i don't run it parallel,
buet sequencial. It takes me 2 hours and 15 mins now...
and this is not only a fop rendering i do, every document is reopened with
iText for some images and watermarks.

these documents are spread like this: 9000 of 2 pages, 3000 of 3 pages and
2000 of 4 and more pages.

my memory (on the taskmanager for the java.exe that does the whole process)
never goes higher then 36.000 Kb , and my cpu cycles are only used for 50%

so i would be able to riuns it twice @ the same time :D

if you want to be sure that your memory use won't jump to the sky make sure
you close every reference you don't need and garbage collect @ a regular
time...

i hope yur doing the same thing in java and if necessary i can help you
tweak the application

greetings,


Jochen Maes
ICT Development


KBC Securities (kbcsecurities.com)
Havenlaan 12 Avenue du Port SIF 8683
B-1080 Brussels
Belgium

 Tel:  +32 2 429 96 81  

 GSM:  +32 496 57 90 99 

 E-mail :  [EMAIL PROTECTED] 





This message and any attachments hereto are for the named person's use
only. It may contain confidential, proprietary or legally privileged
information. You may not, directly or indirectly, use, disclose,
distribute, print, or copy any part of this message if you are not the
intended recipient. If you have received this e-mail message without being
the intended recipient, please notify KBC Securities promptly and delete
this e-mail. Any views expressed in this message are those of the
individual sender, except where the message states otherwise and the sender
is authorised to state them to be the views of KBC Securities. KBC
Securities reserves the right to monitor all e-mail communications through
its networks and any messages addressed to, received or sent by KBC
Securities or its employees are deemed to be professional in nature. The
sender or recipient of any messages to or of KBC Securities agrees that
those may be read by other employees of KBC Securities than the stated
recipient or sender in order to ensure the continuity of work-related
activities and allow supervision thereof. KBC Securities does not accept
liability for the correct and complete transmission of the information, nor
for any delay or interruption of the transmission, nor for damages arising
from the use of, or reliance on, the information.



   
Philip S.  
   
ConstantinouTo: [EMAIL PROTECTED]
 
[EMAIL PROTECTED]cc:   

er.net  Subject: Re: Memory usage w/ FOP   
   

   
24/06/2002  
   
22:50   
   
Please  
   
respond to  
   
fop-user
   

   

   




This really helps...
One of the things that I need to do is a mail merge creating thousands of
one page letters. If the pages are simple with no table of
contents/references/page numbers. Is it safe to assume that the FO
processor
will use roughly the same memory printing 10 letters as 1000?

- Original Message -
From: J.Pietschmann [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, June 24, 2002 1:44 PM
Subject: Re: Memory usage w/ FOP


 Philip S. Constantinou wrote:
  Hi -
  If I'm using an XSL Transformer and an XML ByteArrayOutputStream to
create a
  FO formatted document which is rendered as PDF or printed, what is a
good
  assumption to make about the memory utilization? Is the entire merged
FO
  document stored in memory or can the FO processor stream out the PDF or
  printed page?

 I'm not sure where the XML

RE: keep-with-.. property

2002-06-25 Thread Jochen . Maes

in that case i use the table header and table footer function,

in your case i would use the row you never want to be alone as the table
header of the embedded table that follows.
put there in the table tage  keep-together='always'  etc...

is this what you mean...?


Jochen Maes
ICT Development


KBC Securities (kbcsecurities.com)
Havenlaan 12 Avenue du Port SIF 8683
B-1080 Brussels
Belgium

 Tel:  +32 2 429 96 81  

 GSM:  +32 496 57 90 99 

 E-mail :  [EMAIL PROTECTED] 





This message and any attachments hereto are for the named person's use
only. It may contain confidential, proprietary or legally privileged
information. You may not, directly or indirectly, use, disclose,
distribute, print, or copy any part of this message if you are not the
intended recipient. If you have received this e-mail message without being
the intended recipient, please notify KBC Securities promptly and delete
this e-mail. Any views expressed in this message are those of the
individual sender, except where the message states otherwise and the sender
is authorised to state them to be the views of KBC Securities. KBC
Securities reserves the right to monitor all e-mail communications through
its networks and any messages addressed to, received or sent by KBC
Securities or its employees are deemed to be professional in nature. The
sender or recipient of any messages to or of KBC Securities agrees that
those may be read by other employees of KBC Securities than the stated
recipient or sender in order to ensure the continuity of work-related
activities and allow supervision thereof. KBC Securities does not accept
liability for the correct and complete transmission of the information, nor
for any delay or interruption of the transmission, nor for damages arising
from the use of, or reliance on, the information.



Re: Problem with javax.xml.transform.Transformer

2002-06-20 Thread Jochen . Maes

i had that same error once, and the only thing i did is delete the jars and
put them back and then restart the tomcat...

seems strange but that worked for me...


greetings



Jochen Maes
ICT Development


KBC Securities (kbcsecurities.com)
Havenlaan 12 Avenue du Port SIF 8683
B-1080 Brussels
Belgium

 Tel:  +32 2 429 96 81  

 GSM:  +32 496 57 90 99 

 E-mail :  [EMAIL PROTECTED] 





This message and any attachments hereto are for the named person's use
only. It may contain confidential, proprietary or legally privileged
information. You may not, directly or indirectly, use, disclose,
distribute, print, or copy any part of this message if you are not the
intended recipient. If you have received this e-mail message without being
the intended recipient, please notify KBC Securities promptly and delete
this e-mail. Any views expressed in this message are those of the
individual sender, except where the message states otherwise and the sender
is authorised to state them to be the views of KBC Securities. KBC
Securities reserves the right to monitor all e-mail communications through
its networks and any messages addressed to, received or sent by KBC
Securities or its employees are deemed to be professional in nature. The
sender or recipient of any messages to or of KBC Securities agrees that
those may be read by other employees of KBC Securities than the stated
recipient or sender in order to ensure the continuity of work-related
activities and allow supervision thereof. KBC Securities does not accept
liability for the correct and complete transmission of the information, nor
for any delay or interruption of the transmission, nor for damages arising
from the use of, or reliance on, the information.



Re: embed static pdf?

2002-06-18 Thread Jochen . Maes

i haven't done that yet with FOP, because i couldn't find a way...

if you are welcoming all possibilities, try iText...


Jochen Maes
ICT Development


KBC Securities (kbcsecurities.com)
Havenlaan 12 Avenue du Port SIF 8683
B-1080 Brussels
Belgium

 Tel:  +32 2 429 96 81  

 GSM:  +32 496 57 90 99 

 E-mail :  [EMAIL PROTECTED] 





This message and any attachments hereto are for the named person's use
only. It may contain confidential, proprietary or legally privileged
information. You may not, directly or indirectly, use, disclose,
distribute, print, or copy any part of this message if you are not the
intended recipient. If you have received this e-mail message without being
the intended recipient, please notify KBC Securities promptly and delete
this e-mail. Any views expressed in this message are those of the
individual sender, except where the message states otherwise and the sender
is authorised to state them to be the views of KBC Securities. KBC
Securities reserves the right to monitor all e-mail communications through
its networks and any messages addressed to, received or sent by KBC
Securities or its employees are deemed to be professional in nature. The
sender or recipient of any messages to or of KBC Securities agrees that
those may be read by other employees of KBC Securities than the stated
recipient or sender in order to ensure the continuity of work-related
activities and allow supervision thereof. KBC Securities does not accept
liability for the correct and complete transmission of the information, nor
for any delay or interruption of the transmission, nor for damages arising
from the use of, or reliance on, the information.



Re: RedHat 7.3, JBoss-2.4.4-tomcat-4.0.1 - embedded FOP not working

2002-06-18 Thread Jochen . Maes

thank you for the update, i'll try to remember that one :D


Jochen Maes
ICT Development


KBC Securities (kbcsecurities.com)
Havenlaan 12 Avenue du Port SIF 8683
B-1080 Brussels
Belgium

 Tel:  +32 2 429 96 81  

 GSM:  +32 496 57 90 99 

 E-mail :  [EMAIL PROTECTED] 





This message and any attachments hereto are for the named person's use
only. It may contain confidential, proprietary or legally privileged
information. You may not, directly or indirectly, use, disclose,
distribute, print, or copy any part of this message if you are not the
intended recipient. If you have received this e-mail message without being
the intended recipient, please notify KBC Securities promptly and delete
this e-mail. Any views expressed in this message are those of the
individual sender, except where the message states otherwise and the sender
is authorised to state them to be the views of KBC Securities. KBC
Securities reserves the right to monitor all e-mail communications through
its networks and any messages addressed to, received or sent by KBC
Securities or its employees are deemed to be professional in nature. The
sender or recipient of any messages to or of KBC Securities agrees that
those may be read by other employees of KBC Securities than the stated
recipient or sender in order to ensure the continuity of work-related
activities and allow supervision thereof. KBC Securities does not accept
liability for the correct and complete transmission of the information, nor
for any delay or interruption of the transmission, nor for damages arising
from the use of, or reliance on, the information.



Re: Configuring Portrait/landscape from PSRenderer

2002-06-17 Thread Jochen . Maes

you can set your in your layout-master set something like this:
fo:simple-page-master master-name=landscape page-height=21cm
page-width=29.7cm margin-top=1cm margin-bottom=1.5cm margin-left=2cm
 margin-right=2cm
   fo:region-body margin-top=3cm/
   fo:region-before extent=3cm/
   fo:region-after extent=1.5cm/
/fo:simple-page-master

and you use that master for the pages you want in landscape...


greetings,
Jochen Maes
ICT Development


KBC Securities (kbcsecurities.com)
Havenlaan 12 Avenue du Port SIF 8683
B-1080 Brussels
Belgium

 Tel:  +32 2 429 96 81  

 GSM:  +32 496 57 90 99 

 E-mail :  [EMAIL PROTECTED] 





This message and any attachments hereto are for the named person's use
only. It may contain confidential, proprietary or legally privileged
information. You may not, directly or indirectly, use, disclose,
distribute, print, or copy any part of this message if you are not the
intended recipient. If you have received this e-mail message without being
the intended recipient, please notify KBC Securities promptly and delete
this e-mail. Any views expressed in this message are those of the
individual sender, except where the message states otherwise and the sender
is authorised to state them to be the views of KBC Securities. KBC
Securities reserves the right to monitor all e-mail communications through
its networks and any messages addressed to, received or sent by KBC
Securities or its employees are deemed to be professional in nature. The
sender or recipient of any messages to or of KBC Securities agrees that
those may be read by other employees of KBC Securities than the stated
recipient or sender in order to ensure the continuity of work-related
activities and allow supervision thereof. KBC Securities does not accept
liability for the correct and complete transmission of the information, nor
for any delay or interruption of the transmission, nor for damages arising
from the use of, or reliance on, the information.



Re: RedHat 7.3, JBoss-2.4.4-tomcat-4.0.1 - embedded FOP not working

2002-06-17 Thread Jochen . Maes

what is the encoding you use on  the machines?
UTF-8 or ISO-8859-1  encoding, etc...

what is your machines regional settings do they differ? and if they differ
try to set them alike...

what are the characters that were replaced by the ? if you find them try to
write them through the #XXX; way...


hope this helped a bit


Jochen Maes
ICT Development


KBC Securities (kbcsecurities.com)
Havenlaan 12 Avenue du Port SIF 8683
B-1080 Brussels
Belgium

 Tel:  +32 2 429 96 81  

 GSM:  +32 496 57 90 99 

 E-mail :  [EMAIL PROTECTED] 





This message and any attachments hereto are for the named person's use
only. It may contain confidential, proprietary or legally privileged
information. You may not, directly or indirectly, use, disclose,
distribute, print, or copy any part of this message if you are not the
intended recipient. If you have received this e-mail message without being
the intended recipient, please notify KBC Securities promptly and delete
this e-mail. Any views expressed in this message are those of the
individual sender, except where the message states otherwise and the sender
is authorised to state them to be the views of KBC Securities. KBC
Securities reserves the right to monitor all e-mail communications through
its networks and any messages addressed to, received or sent by KBC
Securities or its employees are deemed to be professional in nature. The
sender or recipient of any messages to or of KBC Securities agrees that
those may be read by other employees of KBC Securities than the stated
recipient or sender in order to ensure the continuity of work-related
activities and allow supervision thereof. KBC Securities does not accept
liability for the correct and complete transmission of the information, nor
for any delay or interruption of the transmission, nor for damages arising
from the use of, or reliance on, the information.



Re: Logging

2002-06-14 Thread Jochen . Maes

check the website/docs, there is a logging available, also there is an
example
Jochen Maes
ICT Development


KBC Securities (kbcsecurities.com)
Havenlaan 12 Avenue du Port SIF 8683
B-1080 Brussels
Belgium

 Tel:  +32 2 429 96 81  

 GSM:  +32 496 57 90 99 

 E-mail :  [EMAIL PROTECTED] 





This message and any attachments hereto are for the named person's use
only. It may contain confidential, proprietary or legally privileged
information. You may not, directly or indirectly, use, disclose,
distribute, print, or copy any part of this message if you are not the
intended recipient. If you have received this e-mail message without being
the intended recipient, please notify KBC Securities promptly and delete
this e-mail. Any views expressed in this message are those of the
individual sender, except where the message states otherwise and the sender
is authorised to state them to be the views of KBC Securities. KBC
Securities reserves the right to monitor all e-mail communications through
its networks and any messages addressed to, received or sent by KBC
Securities or its employees are deemed to be professional in nature. The
sender or recipient of any messages to or of KBC Securities agrees that
those may be read by other employees of KBC Securities than the stated
recipient or sender in order to ensure the continuity of work-related
activities and allow supervision thereof. KBC Securities does not accept
liability for the correct and complete transmission of the information, nor
for any delay or interruption of the transmission, nor for damages arising
from the use of, or reliance on, the information.



Re: stykesheet attribute version

2002-06-12 Thread Jochen . Maes

the problem is solved, i dunno what changed or what happen, i just rebuild
all my jars and now it works same xml, same xsl etc...

weird shite :D


thx all for helping

Jochen Maes
ICT Development


KBC Securities (kbcsecurities.com)
Havenlaan 12 Avenue du Port SIF 8683
B-1080 Brussels
Belgium

 Tel:  +32 2 429 96 81  

 GSM:  +32 496 57 90 99 

 E-mail :  [EMAIL PROTECTED] 





This message and any attachments hereto are for the named person's use
only. It may contain confidential, proprietary or legally privileged
information. You may not, directly or indirectly, use, disclose,
distribute, print, or copy any part of this message if you are not the
intended recipient. If you have received this e-mail message without being
the intended recipient, please notify KBC Securities promptly and delete
this e-mail. Any views expressed in this message are those of the
individual sender, except where the message states otherwise and the sender
is authorised to state them to be the views of KBC Securities. KBC
Securities reserves the right to monitor all e-mail communications through
its networks and any messages addressed to, received or sent by KBC
Securities or its employees are deemed to be professional in nature. The
sender or recipient of any messages to or of KBC Securities agrees that
those may be read by other employees of KBC Securities than the stated
recipient or sender in order to ensure the continuity of work-related
activities and allow supervision thereof. KBC Securities does not accept
liability for the correct and complete transmission of the information, nor
for any delay or interruption of the transmission, nor for damages arising
from the use of, or reliance on, the information.



Re: render DOM to PDF with FOP

2002-06-12 Thread Jochen . Maes

to parse the xml:

 DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
DocumentBuilder db = dbf.newDocumentBuilder();
Document XMLDoc = db.parse(source);
System.out.println(file gevonden);
prop.put(targetKey, XMLDoc);

to parse the xsl:
 DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
dbf.setNamespaceAware(true);
DocumentBuilder db = dbf.newDocumentBuilder();
inFile =  new File((String)initprops.get(key));
Document XSLDoc = db.parse(inFile);
TransformDocs.put(key, XSLDoc);

to transfer the xsl :
   transForm = transFactory.newTransformer(new DOMSource
((Node)TransformDocs.get(((String)props.get(languageKey)) + _XSL)));
res = new DOMResult();
transForm.setOutputProperty(omit-xml-declaration, yes);
transForm.transform(new DOMSource
((Node)props.get(sourceKey)),res);

to render the pdf:

   Document res = (Document) props.get(sourceKey);
ByteArrayOutputStream baOs = new ByteArrayOutputStream();
driver.setOutputStream(baOs);
 // renderen van het PDF document
driver.render(res);
props.put(targetKey, baOs.toByteArray());
baOs.close();
baOs = null;
res = null;




Jochen Maes
ICT Development


KBC Securities (kbcsecurities.com)
Havenlaan 12 Avenue du Port SIF 8683
B-1080 Brussels
Belgium

 Tel:  +32 2 429 96 81  

 GSM:  +32 496 57 90 99 

 E-mail :  [EMAIL PROTECTED] 





This message and any attachments hereto are for the named person's use
only. It may contain confidential, proprietary or legally privileged
information. You may not, directly or indirectly, use, disclose,
distribute, print, or copy any part of this message if you are not the
intended recipient. If you have received this e-mail message without being
the intended recipient, please notify KBC Securities promptly and delete
this e-mail. Any views expressed in this message are those of the
individual sender, except where the message states otherwise and the sender
is authorised to state them to be the views of KBC Securities. KBC
Securities reserves the right to monitor all e-mail communications through
its networks and any messages addressed to, received or sent by KBC
Securities or its employees are deemed to be professional in nature. The
sender or recipient of any messages to or of KBC Securities agrees that
those may be read by other employees of KBC Securities than the stated
recipient or sender in order to ensure the continuity of work-related
activities and allow supervision thereof. KBC Securities does not accept
liability for the correct and complete transmission of the information, nor
for any delay or interruption of the transmission, nor for damages arising
from the use of, or reliance on, the information.



   
[EMAIL PROTECTED]   
   
e.comTo: [EMAIL PROTECTED]  
 
 cc:
   
12/06/2002   Subject: render DOM to PDF with 
FOP   
13:25   
   
Please  
   
respond to  
   
fop-user
   

   

   




Hi,

I have seen in the FopServlet example how to embed the FOP in the servlet.
But the problem is that XSLTInputHandler been used in renderXML method only
takes xml file and xsl file. How can I set up FOP to render a in-memory DOM
object with a specified xsl file to PDF without having to write the DOM out
to a temporary disk file?

Thanks,
___
Jianbo Mao
CheckFree i-Solutions
Email: [EMAIL PROTECTED]
Office:  +44 (0) 1753 567896
Mobile: +44 (0) 7810 483974
Fax:  +44 (0) 1753 567897
___









stykesheet attribute version

2002-06-11 Thread Jochen . Maes
hi guyz/gurlz i'm back :D


i have an error, i've been searchin the marc.theaimsgroup.com archive for
the solution, but can't really find it...
i know it can be solved...

anyway, i get the error:
java.xml.transform.TransformerConfigurationException: stylesheet requires
attribute: version...

of course it is there, but still i get the error, i maved the version tag
in the attributes before and after each of the other attributes... but
still same error...

I use the xalan and the xerces (but it's the xalan that gives an error)

i had that error once but it resolved itself...

now on my development enviroment i don't have the error but i use the same
jars, same xsl's etc...

but i get the error on the productionmachine

please advise...

Jochen


Jochen Maes
ICT Development


KBC Securities (kbcsecurities.com)
Havenlaan 12 Avenue du Port SIF 8683
B-1080 Brussels
Belgium

 Tel:  +32 2 429 96 81  

 GSM:  +32 496 57 90 99 

 E-mail :  [EMAIL PROTECTED] 





This message and any attachments hereto are for the named person's use
only. It may contain confidential, proprietary or legally privileged
information. You may not, directly or indirectly, use, disclose,
distribute, print, or copy any part of this message if you are not the
intended recipient. If you have received this e-mail message without being
the intended recipient, please notify KBC Securities promptly and delete
this e-mail. Any views expressed in this message are those of the
individual sender, except where the message states otherwise and the sender
is authorised to state them to be the views of KBC Securities. KBC
Securities reserves the right to monitor all e-mail communications through
its networks and any messages addressed to, received or sent by KBC
Securities or its employees are deemed to be professional in nature. The
sender or recipient of any messages to or of KBC Securities agrees that
those may be read by other employees of KBC Securities than the stated
recipient or sender in order to ensure the continuity of work-related
activities and allow supervision thereof. KBC Securities does not accept
liability for the correct and complete transmission of the information, nor
for any delay or interruption of the transmission, nor for damages arising
from the use of, or reliance on, the information.



Re: stykesheet attribute version

2002-06-11 Thread Jochen . Maes

Do you mean that there is no way around it?
weird, i can run it from my workstation (same os etc only diff processor
and less memory)
can't be...

if someone knows how to resolve it i would really appreciate it...

Jochen Maes
ICT Development


KBC Securities (kbcsecurities.com)
Havenlaan 12 Avenue du Port SIF 8683
B-1080 Brussels
Belgium

 Tel:  +32 2 429 96 81  

 GSM:  +32 496 57 90 99 

 E-mail :  [EMAIL PROTECTED] 





This message and any attachments hereto are for the named person's use
only. It may contain confidential, proprietary or legally privileged
information. You may not, directly or indirectly, use, disclose,
distribute, print, or copy any part of this message if you are not the
intended recipient. If you have received this e-mail message without being
the intended recipient, please notify KBC Securities promptly and delete
this e-mail. Any views expressed in this message are those of the
individual sender, except where the message states otherwise and the sender
is authorised to state them to be the views of KBC Securities. KBC
Securities reserves the right to monitor all e-mail communications through
its networks and any messages addressed to, received or sent by KBC
Securities or its employees are deemed to be professional in nature. The
sender or recipient of any messages to or of KBC Securities agrees that
those may be read by other employees of KBC Securities than the stated
recipient or sender in order to ensure the continuity of work-related
activities and allow supervision thereof. KBC Securities does not accept
liability for the correct and complete transmission of the information, nor
for any delay or interruption of the transmission, nor for damages arising
from the use of, or reliance on, the information.




Peter Jacobs

[EMAIL PROTECTED]To: [EMAIL PROTECTED] 
  
magie.comcc:   

  Subject: Re: stykesheet 
attribute version 
11/06/2002 11:28

Please respond to   

fop-user









[EMAIL PROTECTED] wrote:

 anyway, i get the error:
 java.xml.transform.TransformerConfigurationException: stylesheet requires
 attribute: version...

 of course it is there, but still i get the error, i maved the version tag
 in the attributes before and after each of the other attributes... but
 still same error...

looks like:
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6813
sorry, is not really helpfull...


Peter Jacobs
Freelance multimedia programmeur
De Budetstraat 8
B-3201 Aarschot
[EMAIL PROTECTED]
016/573257







Re: stykesheet attribute version

2002-06-11 Thread Jochen . Maes
param name=sourceKey value=FinalPDF/
param name=targetKey value=FilePDF/
   /Step
  /Seq
 /Sequences
/XML_Stream



Jochen Maes
ICT Development


KBC Securities (kbcsecurities.com)
Havenlaan 12 Avenue du Port SIF 8683
B-1080 Brussels
Belgium

 Tel:  +32 2 429 96 81  

 GSM:  +32 496 57 90 99 

 E-mail :  [EMAIL PROTECTED] 





This message and any attachments hereto are for the named person's use
only. It may contain confidential, proprietary or legally privileged
information. You may not, directly or indirectly, use, disclose,
distribute, print, or copy any part of this message if you are not the
intended recipient. If you have received this e-mail message without being
the intended recipient, please notify KBC Securities promptly and delete
this e-mail. Any views expressed in this message are those of the
individual sender, except where the message states otherwise and the sender
is authorised to state them to be the views of KBC Securities. KBC
Securities reserves the right to monitor all e-mail communications through
its networks and any messages addressed to, received or sent by KBC
Securities or its employees are deemed to be professional in nature. The
sender or recipient of any messages to or of KBC Securities agrees that
those may be read by other employees of KBC Securities than the stated
recipient or sender in order to ensure the continuity of work-related
activities and allow supervision thereof. KBC Securities does not accept
liability for the correct and complete transmission of the information, nor
for any delay or interruption of the transmission, nor for damages arising
from the use of, or reliance on, the information.



   
Oleg
   
TkachenkoTo: [EMAIL PROTECTED]  
 
[EMAIL PROTECTED]cc:   

onn.com Subject: Re: stykesheet attribute 
version 

   
11/06/2002  
   
16:10   
   
Please  
   
respond to  
   
fop-user
   

   

   




[EMAIL PROTECTED] wrote:

 java -cp

kbcs_fop.jar;batik.jar;avalonframework.jar;fop.jar;xalan.jar;iText.jar;logkit1b4.jar;jaxp.jar;xerces.jar;.


 com.kbcsecurities.test.Startup

You didn't show us how you build initprops Map, please.


 public void process(Map props) throws ProcessException {
 DOMResult res = null;
 TransformerFactory transFactory;
 Transformer transForm;
 String language;
 // XML Parsen en de preparatie van het document zodat de renderer
 // de juiste gegevens heeft.
 try{
 language = (String)props.get(languageKey);
 transFactory = TransformerFactory.newInstance();
At this point you can check whether
(Node)TransformDocs.get(((String)props.get(languageKey)) + _XSL) returns
you
valid stylesheet DOM document, e.g. try to serialize it and inspect.

--
Oleg Tkachenko
Multiconn International Ltd, Israel







Re: stykesheet attribute version

2002-06-11 Thread Jochen . Maes

hi Peter,

I tried without it, but doesn't change a thing... still get the same
error...

and no worries, every help is help... and sometimes other peeps see more
then you do after looking @ it for ages :-)

greets


Jochen Maes
ICT Development


KBC Securities (kbcsecurities.com)
Havenlaan 12 Avenue du Port SIF 8683
B-1080 Brussels
Belgium

 Tel:  +32 2 429 96 81  

 GSM:  +32 496 57 90 99 

 E-mail :  [EMAIL PROTECTED] 





This message and any attachments hereto are for the named person's use
only. It may contain confidential, proprietary or legally privileged
information. You may not, directly or indirectly, use, disclose,
distribute, print, or copy any part of this message if you are not the
intended recipient. If you have received this e-mail message without being
the intended recipient, please notify KBC Securities promptly and delete
this e-mail. Any views expressed in this message are those of the
individual sender, except where the message states otherwise and the sender
is authorised to state them to be the views of KBC Securities. KBC
Securities reserves the right to monitor all e-mail communications through
its networks and any messages addressed to, received or sent by KBC
Securities or its employees are deemed to be professional in nature. The
sender or recipient of any messages to or of KBC Securities agrees that
those may be read by other employees of KBC Securities than the stated
recipient or sender in order to ensure the continuity of work-related
activities and allow supervision thereof. KBC Securities does not accept
liability for the correct and complete transmission of the information, nor
for any delay or interruption of the transmission, nor for damages arising
from the use of, or reliance on, the information.



Re: stykesheet attribute version

2002-06-11 Thread Jochen . Maes

Oleg,


i get my whole xsl file bact printed out... (as good as i can see it...)

if you want it i'll write the output to file...

let me know

Jochen Maes
ICT Development


KBC Securities (kbcsecurities.com)
Havenlaan 12 Avenue du Port SIF 8683
B-1080 Brussels
Belgium

 Tel:  +32 2 429 96 81  

 GSM:  +32 496 57 90 99 

 E-mail :  [EMAIL PROTECTED] 





This message and any attachments hereto are for the named person's use
only. It may contain confidential, proprietary or legally privileged
information. You may not, directly or indirectly, use, disclose,
distribute, print, or copy any part of this message if you are not the
intended recipient. If you have received this e-mail message without being
the intended recipient, please notify KBC Securities promptly and delete
this e-mail. Any views expressed in this message are those of the
individual sender, except where the message states otherwise and the sender
is authorised to state them to be the views of KBC Securities. KBC
Securities reserves the right to monitor all e-mail communications through
its networks and any messages addressed to, received or sent by KBC
Securities or its employees are deemed to be professional in nature. The
sender or recipient of any messages to or of KBC Securities agrees that
those may be read by other employees of KBC Securities than the stated
recipient or sender in order to ensure the continuity of work-related
activities and allow supervision thereof. KBC Securities does not accept
liability for the correct and complete transmission of the information, nor
for any delay or interruption of the transmission, nor for damages arising
from the use of, or reliance on, the information.



   
Oleg
   
TkachenkoTo: [EMAIL PROTECTED]  
 
[EMAIL PROTECTED]cc:   

onn.com Subject: Re: stykesheet attribute 
version 

   
11/06/2002  
   
16:51   
   
Please  
   
respond to  
   
fop-user
   

   

   




[EMAIL PROTECTED] wrote:
 ok don't complain if it is a lot of code:
Well, that was really not much, but too hard to grasp, so lets begin from
another side:

  public void process(Map props) throws ProcessException {
 DOMResult res = null;
 TransformerFactory transFactory;
 Transformer transForm;
 String language;
 // XML Parsen en de preparatie van het document zodat de renderer
 // de juiste gegevens heeft.
 try{
 language = (String)props.get(languageKey);
 transFactory = TransformerFactory.newInstance();

Lets serialize xsl doc at this point to see whether it's ok:

Node xslDOM = (Node)TransformDocs.get(((String)props.get(languageKey)) + 
_XSL);
Transformer idTransform = transFactory.newTransformer();
idTransform.transform(new DOMSource(xslDOM), new StreamResult(System.out));

And what is at the System.out after that ?

--
Oleg Tkachenko
Multiconn International Ltd, Israel







Re: stykesheet attribute version

2002-06-11 Thread Jochen . Maes
   /fo:table
  /fo:block
 /xsl:template
 xsl:template match=XML_Stream/Detail/Exchange_Rates
  fo:block font-size=12 font-weight=bold space-after.optimum
=10pt space-before.optimum=10pt
   xsl:textTOTAALWAARDE PORTEFEUILLE: /xsl:text
   xsl:value-of select=../Portfolio/Total/
   xsl:text /xsl:text
   xsl:value-of select=../Portfolio/Total/@currency/
  /fo:block
  fo:block
   fo:block font-family=Arialnb font-size=10pt font-weight
=bold space-after.optimum=2pt
xsl:textGehanteerde Wisselkoersen/xsl:text
   /fo:block
   xsl:for-each select=Rate
fo:block
 fo:table
  fo:table-column column-width=1.5cm/
  fo:table-column column-width=1.5cm/
  fo:table-column column-width=2.5cm/
  fo:table-body
   fo:table-row
 fo:table-cell border-color
=black border-style=double border-width=0.5pt
  fo:block font-family
=Arialn font-size=10pt padding-top=1pt text-align=center
   xsl:value-of select=
@from//fo:block/fo:table-cell
 fo:table-cell border-color
=black border-style=double border-width=0.5pt
  fo:block font-family
=Arialn font-size=10pt padding-top=1pt text-align=center
   xsl:value-of select=
@to//fo:block/fo:table-cell
 fo:table-cell border-color
=black border-style=double border-width=0.5pt
  fo:block font-family
=Arialn font-size=10pt margin-right=2pt padding-right=2pt
padding-top=1pt text-align=end
   xsl:value-of select=
@value/
  /fo:block
 /fo:table-cell
   /fo:table-row
  /fo:table-body
 /fo:table
/fo:block
   /xsl:for-each
  /fo:block
 /xsl:template
/xsl:stylesheet



Jochen Maes
ICT Development


KBC Securities (kbcsecurities.com)
Havenlaan 12 Avenue du Port SIF 8683
B-1080 Brussels
Belgium

 Tel:  +32 2 429 96 81  

 GSM:  +32 496 57 90 99 

 E-mail :  [EMAIL PROTECTED] 





This message and any attachments hereto are for the named person's use
only. It may contain confidential, proprietary or legally privileged
information. You may not, directly or indirectly, use, disclose,
distribute, print, or copy any part of this message if you are not the
intended recipient. If you have received this e-mail message without being
the intended recipient, please notify KBC Securities promptly and delete
this e-mail. Any views expressed in this message are those of the
individual sender, except where the message states otherwise and the sender
is authorised to state them to be the views of KBC Securities. KBC
Securities reserves the right to monitor all e-mail communications through
its networks and any messages addressed to, received or sent by KBC
Securities or its employees are deemed to be professional in nature. The
sender or recipient of any messages to or of KBC Securities agrees that
those may be read by other employees of KBC Securities than the stated
recipient or sender in order to ensure the continuity of work-related
activities and allow supervision thereof. KBC Securities does not accept
liability for the correct and complete transmission of the information, nor
for any delay or interruption of the transmission, nor for damages arising
from the use of, or reliance on, the information.



Re: stykesheet attribute version

2002-06-11 Thread Jochen . Maes

i tried it again with both ways still get the exeption...

but thanks anyway, and i'm sorry that i brought it up here, but you guyz
are the only ones that really care and really help

greets
Jochen Maes
ICT Development


KBC Securities (kbcsecurities.com)
Havenlaan 12 Avenue du Port SIF 8683
B-1080 Brussels
Belgium

 Tel:  +32 2 429 96 81  

 GSM:  +32 496 57 90 99 

 E-mail :  [EMAIL PROTECTED] 





This message and any attachments hereto are for the named person's use
only. It may contain confidential, proprietary or legally privileged
information. You may not, directly or indirectly, use, disclose,
distribute, print, or copy any part of this message if you are not the
intended recipient. If you have received this e-mail message without being
the intended recipient, please notify KBC Securities promptly and delete
this e-mail. Any views expressed in this message are those of the
individual sender, except where the message states otherwise and the sender
is authorised to state them to be the views of KBC Securities. KBC
Securities reserves the right to monitor all e-mail communications through
its networks and any messages addressed to, received or sent by KBC
Securities or its employees are deemed to be professional in nature. The
sender or recipient of any messages to or of KBC Securities agrees that
those may be read by other employees of KBC Securities than the stated
recipient or sender in order to ensure the continuity of work-related
activities and allow supervision thereof. KBC Securities does not accept
liability for the correct and complete transmission of the information, nor
for any delay or interruption of the transmission, nor for damages arising
from the use of, or reliance on, the information.