cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Graaf, Edgar de (fin)" <>
Subject RE: Hi
Date Thu, 11 Apr 2002 07:14:58 GMT

To be sure first I will explain this piece of sitemap:
<map:match pattern="hello.pdf">
  <map:generate src="docs/samples/hello-page.xml"/>
  <map:transform src="stylesheets/page/simple-page2fo.xsl"/>
  <map:serialize type="fo2pdf"/>

First you have a page with layout (a page has content and the content is
made up out of paragraphs etc.). Then a stylesheet is used to convert this
'simple-page'-layout to a standard called Formatting Objects or FO.

In the end this Formatting Object xml is understandable to the PDF
serializer. This one converts FO to PDF. Voila.

I will include an extra example (xsl and xml). If you use this xsl and if
you put in the xml the following tag: <image url="yourimage.gif">Some
text</image> then you also get an image in your PDF.



You should have knowledge of the following subjects when you start with pdf
creation: XSL, Formatting Objects and the Cocoon Sitemap.

-----Oorspronkelijk bericht-----
Van: Ali, Farhan []
Verzonden: donderdag 11 april 2002 1:23
Aan: ''
Onderwerp: Hi

 Can anybody send me multiple samples of xsl along with xml files for
generation of PDF's in Cocoon2.0.2
 So that i could be see the source code of multiple samples
 If there is any link of samples than plz send me the url

To unsubscribe, e-mail:
For additional commands, email:

View raw message