If you set up your sitemap right, you can pull this off (well, most of
it, not sure how you would do borders). First, you want to create
pipelines for the images you want to create:

<map:match pattern="*.dynamic.jpeg">
   <map:generate type="serverpages" src="svgData/{1}.xsp" />
   <map:transform src="svgSheets/{1}.xsl" />
   <map:serialize type="svg2jpeg"/>
</map:match>

Then, in your fo: stylesheet --

<fo:external-graphic src="http://www.mysite.com/pic1.dynamic.jpeg"/>
<fo:external-graphic src="http://www.mysite.com/pic2.dynamic.jpeg"/>


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:michael.fridrich@;everymail.net] 
Sent: Thursday, October 24, 2002 10:34 AM
To: [EMAIL PROTECTED]
Subject: Re: Creating PDF with graphics

Bert, a good idea, using graphics from an external source. 
I think, I will use it too. But what I need is a way to 
draw graphics (like the SVG-sample) inside my text 
document, to draw fancy borders or other layout elements.

SVG seems to be good for this, the SVG sample is 
impressive! I found some good looking SVG samples in the 
net. But I don't know, how to include the SVG elements into 
my stylesheet or whereever, to make them appear in the PDF 
result.

Are there any samples for Cocoon where I can learn how to 
do this? I'm almost new to Cocoon, so I think, sample files 
or applications will be the best to learn how this works.





---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

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

Reply via email to