Re: Graphics in XSL:FO?

2003-03-20 Thread Scherler
TRY:
http://localhost:8080/mycocoon/foo.gif"/>
before that can work, make sure you matched *.gif in the sitemap.

king regards

J.Pietschmann wrote:

Colin W. Kingsbury wrote:

I am trying to get cocoon to render an instance to PDF which includes a
graphic reference. I have used the  tag and have my cocoon running in say
c:\tomcat\webapps\cocoon.
If I run the FO output through Fop on the command line I see my graphic;
if I access it through cocoon URL I get a blank screen result and no
error messages.


Do you get a PDF with some stuff but missing the graphic?
In any case, first check the Cocoon logs and also the tomcat
stdout for errors.
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]


Re: Graphics in XSL:FO?

2003-03-20 Thread J.Pietschmann
Colin W. Kingsbury wrote:
I am trying to get cocoon to render an instance to PDF which includes a
graphic reference. I have used the 
src=file:///c:/stuff/foo.jpg/> tag and have my cocoon running in say
c:\tomcat\webapps\cocoon. 

If I run the FO output through Fop on the command line I see my graphic;
if I access it through cocoon URL I get a blank screen result and no
error messages.
Do you get a PDF with some stuff but missing the graphic?
In any case, first check the Cocoon logs and also the tomcat
stdout for errors.
J.Pietschmann



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


Graphics in XSL:FO?

2003-03-17 Thread Colin W. Kingsbury
I am trying to get cocoon to render an instance to PDF which includes a
graphic reference. I have used the  tag and have my cocoon running in say
c:\tomcat\webapps\cocoon. 

If I run the FO output through Fop on the command line I see my graphic;
if I access it through cocoon URL I get a blank screen result and no
error messages.

Any ideas!?

Thanks in advance!

Best,
-cwk.



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



Re: External Graphics in XSL:FO (SVG chart)

2002-10-21 Thread Sreenivasan N.
Is there any possiblity to create pdf which contain dynamic generated 
images (in my case it is a pie chart) which is part of a pipeline. I hope 
this question is clear to J.Pietschmann.

Here is my code for XSP which is working when serialize as html


   
   

   


  
  
  
   




  language="java"
  xmlns:xsp="http://apache.org/xsp";
  xmlns:esql="http://apache.org/cocoon/SQL/v2";
  xmlns:source="http://apache.org/cocoon/source/1.0";
>

  


 
 
  HELLO
 
  
  
  
  version 2.0.3
 




   






   
ora

 



PROJECTID 
 DEFECTS_ESTIMATED 


   





  select * from PAT_DEFECT_ESTIMATION where PROJECTID 
in('ATSE02','PPIDGIR') and DEFECTS_ESTIMATED not in(0) 
  

  
  
  
  


  









   





   
   



The actual problem is when i try to generate a pdf where there is a image 
which has to be generated from the pipeline rather than giving something 
like 

regards
Sreenivasan.


At 10:54 PM 10/21/02 +0200, you wrote:
Timothy Larson wrote:

My guess is that FOP does not know much about Cocoon, and cannot fetch
files from anywhere except the filesystem.


No, FOP can use http URLs.

Unfortunately, the original message was  unparsable for me,
but I suspect something is wrong with the pipeline generating
the SVG, perhaps it's serialized as text instead of XML.
Another possibility could be that the original poster complained
about a known problem where SVG text is mangled.

J.Pietschmann


-
Please check that your question  has not already been answered in the
FAQ before posting. 

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









"Attitudes are much more important than aptitudes."
"Nothing is impossible for a willing heart"

Sreenivasan N.
Sony SARD
Ext 5816

Email. [EMAIL PROTECTED]
Per: [EMAIL PROTECTED]


-
Please check that your question  has not already been answered in the
FAQ before posting. 

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




Re: External Graphics in XSL:FO (SVG chart)

2002-10-21 Thread J.Pietschmann
Timothy Larson wrote:

My guess is that FOP does not know much about Cocoon, and cannot fetch
files from anywhere except the filesystem.


No, FOP can use http URLs.

Unfortunately, the original message was  unparsable for me,
but I suspect something is wrong with the pipeline generating
the SVG, perhaps it's serialized as text instead of XML.
Another possibility could be that the original poster complained
about a known problem where SVG text is mangled.

J.Pietschmann


-
Please check that your question  has not already been answered in the
FAQ before posting. 

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