Database connectivity

2009-03-04 Thread Krishna Thokala
Hi,
I am using cocoon in lenya,when am connecting to database with oracle
getting errors ,
it is possible or not in lenya /cocoon with oracle,please suggest me.
 
Thanks,
krishna.


Re: Database connectivity

2009-03-04 Thread Andreas Hartmann

Hi Krishna,

Krishna Thokala schrieb:

Hi,
I am using cocoon in lenya,when am connecting to database with oracle 
getting errors ,

it is possible or not in lenya /cocoon with oracle,please suggest me.


if you're still referring to the errors you mentioned on the Lenya 
mailing list: These are not related to your Oracle DB connection, but to 
your Cocoon sitemap setup. See Thorsten's reply.


Are you confident about the Oracle integration approach you have 
started? If not – maybe it would help if you could give some more 
details about what you want to achieve with this DB connection. Do you 
want to store Lenya documents in the DB? Do you want to display some 
data on web pages?


-- Andreas


--
Andreas Hartmann, CTO
BeCompany GmbH
http://www.becompany.ch
Tel.: +41 (0) 43 818 57 01


-
To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org
For additional commands, e-mail: users-h...@cocoon.apache.org



RE: Database connectivity

2009-03-04 Thread Krishna Thokala
 
Hi,
Yes,I want to store lenya docs in DB and display the data on web pages.
I configured in web.xml and cocoon.xconf require information,but i didnot
configure in sitemap ,how can i configure?

Thanks,
krishna.
-Original Message-
From: news [mailto:n...@ger.gmane.org] On Behalf Of Andreas Hartmann
Sent: Wednesday, March 04, 2009 7:17 PM
To: users@cocoon.apache.org
Subject: Re: Database connectivity

Hi Krishna,

Krishna Thokala schrieb:
> Hi,
> I am using cocoon in lenya,when am connecting to database with oracle 
> getting errors , it is possible or not in lenya /cocoon with 
> oracle,please suggest me.

if you're still referring to the errors you mentioned on the Lenya mailing
list: These are not related to your Oracle DB connection, but to your Cocoon
sitemap setup. See Thorsten's reply.

Are you confident about the Oracle integration approach you have started? If
not - maybe it would help if you could give some more details about what you
want to achieve with this DB connection. Do you want to store Lenya
documents in the DB? Do you want to display some data on web pages?

-- Andreas


--
Andreas Hartmann, CTO
BeCompany GmbH
http://www.becompany.ch
Tel.: +41 (0) 43 818 57 01


-
To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org
For additional commands, e-mail: users-h...@cocoon.apache.org


-
To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org
For additional commands, e-mail: users-h...@cocoon.apache.org



Re: Database connectivity

2009-03-04 Thread Andreas Hartmann

Hi Krishna,

Krishna Thokala schrieb:


Yes,I want to store lenya docs in DB and display the data on web pages.


in this case this thread should be continued on the Lenya users list.

Just a short remark: Are you aware that Lenya doesn't support database 
back-ends? Are you planning to implement a DB back-end for Lenya? This 
would be a very complex task. Are there any particular benefits you are 
hoping to achieve?


-- Andreas




I configured in web.xml and cocoon.xconf require information,but i didnot
configure in sitemap ,how can i configure?

Thanks,
krishna.
-Original Message-
From: news [mailto:n...@ger.gmane.org] On Behalf Of Andreas Hartmann
Sent: Wednesday, March 04, 2009 7:17 PM
To: users@cocoon.apache.org
Subject: Re: Database connectivity

Hi Krishna,

Krishna Thokala schrieb:

Hi,
I am using cocoon in lenya,when am connecting to database with oracle 
getting errors , it is possible or not in lenya /cocoon with 
oracle,please suggest me.


if you're still referring to the errors you mentioned on the Lenya mailing
list: These are not related to your Oracle DB connection, but to your Cocoon
sitemap setup. See Thorsten's reply.

Are you confident about the Oracle integration approach you have started? If
not - maybe it would help if you could give some more details about what you
want to achieve with this DB connection. Do you want to store Lenya
documents in the DB? Do you want to display some data on web pages?

-- Andreas


--
Andreas Hartmann, CTO
BeCompany GmbH
http://www.becompany.ch
Tel.: +41 (0) 43 818 57 01


-
To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org
For additional commands, e-mail: users-h...@cocoon.apache.org



--
Andreas Hartmann, CTO
BeCompany GmbH
http://www.becompany.ch
Tel.: +41 (0) 43 818 57 01


-
To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org
For additional commands, e-mail: users-h...@cocoon.apache.org



RE: Database connectivity

2009-03-04 Thread Krishna Thokala
 
Hi Andreas,

Without database back-ends how can I store bunch of content(docs,images like
that) ?
is it stores content in the format of flat files only ?
if lenya stores content in the format of flat files means it reqires more
space on server.It impacts on server performance.
 
I tried to connect cocoon with oracle,cocoon supports database backends.
but lenya using cocoon internally to store the data. 

Thanks,
krishna.


-Original Message-
From: news [mailto:n...@ger.gmane.org] On Behalf Of Andreas Hartmann
Sent: Wednesday, March 04, 2009 7:33 PM
To: users@cocoon.apache.org
Subject: Re: Database connectivity

Hi Krishna,

Krishna Thokala schrieb:

> Yes,I want to store lenya docs in DB and display the data on web pages.

in this case this thread should be continued on the Lenya users list.

Just a short remark: Are you aware that Lenya doesn't support database
back-ends? Are you planning to implement a DB back-end for Lenya? This would
be a very complex task. Are there any particular benefits you are hoping to
achieve?

-- Andreas



> I configured in web.xml and cocoon.xconf require information,but i 
> didnot configure in sitemap ,how can i configure?
> 
> Thanks,
> krishna.
> -Original Message-
> From: news [mailto:n...@ger.gmane.org] On Behalf Of Andreas Hartmann
> Sent: Wednesday, March 04, 2009 7:17 PM
> To: users@cocoon.apache.org
> Subject: Re: Database connectivity
> 
> Hi Krishna,
> 
> Krishna Thokala schrieb:
>> Hi,
>> I am using cocoon in lenya,when am connecting to database with oracle 
>> getting errors , it is possible or not in lenya /cocoon with 
>> oracle,please suggest me.
> 
> if you're still referring to the errors you mentioned on the Lenya 
> mailing
> list: These are not related to your Oracle DB connection, but to your 
> Cocoon sitemap setup. See Thorsten's reply.
> 
> Are you confident about the Oracle integration approach you have 
> started? If not - maybe it would help if you could give some more 
> details about what you want to achieve with this DB connection. Do you 
> want to store Lenya documents in the DB? Do you want to display some data
on web pages?
> 
> -- Andreas
> 
> 
> --
> Andreas Hartmann, CTO
> BeCompany GmbH
> http://www.becompany.ch
> Tel.: +41 (0) 43 818 57 01
> 
> 
> -
> To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org
> For additional commands, e-mail: users-h...@cocoon.apache.org


--
Andreas Hartmann, CTO
BeCompany GmbH
http://www.becompany.ch
Tel.: +41 (0) 43 818 57 01


-
To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org
For additional commands, e-mail: users-h...@cocoon.apache.org


-
To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org
For additional commands, e-mail: users-h...@cocoon.apache.org



Spring bean for action src

2009-03-04 Thread Schenk, Paul (SD/DS-Accenture)
Hello,

We are trying to develop a Cocoon 2.2 application. We have developed a
few 2.1 apps already. We are struggling with using a spring bean for an
action.

We'd like to do something like:

(in sitemap.xmap)

  

  
  2
  
  

  


We define the bean in applicationContext.xml:


   
  

However the name LinkForm is never properly resolved. Is there a way to
use specify a Spring bean as an action source?

Thanks
paul




Re: Spring bean for action src

2009-03-04 Thread Andreas Hartmann

Hi Paul,

Schenk, Paul (SD/DS-Accenture) schrieb:

Hello,

We are trying to develop a Cocoon 2.2 application. We have developed a 
few 2.1 apps already. We are struggling with using a spring bean for an 
action.


We’d like to do something like:

(in sitemap.xmap)

  



  src="org.apache.cocoon.acting.HttpCacheAction">


  2

  

  



  

We define the bean in applicationContext.xml:




I'm not sure, but I think that has to read

class="com.gnb.forms.LinkForm">


Then you should be able to reference the action with the name "LinkForm" 
in your sitemap, without additionally declaring it in the 
 section.


-- Andreas



--
Andreas Hartmann, CTO
BeCompany GmbH
http://www.becompany.ch
Tel.: +41 (0) 43 818 57 01


-
To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org
For additional commands, e-mail: users-h...@cocoon.apache.org



Re: Spring bean for action src

2009-03-04 Thread Paul Schenk

Thanks! That works!

paul

Andreas Hartmann wrote:
> 
> Hi Paul,
> 
> Schenk, Paul (SD/DS-Accenture) schrieb:
>> Hello,
>> 
>> We are trying to develop a Cocoon 2.2 application. We have developed a 
>> few 2.1 apps already. We are struggling with using a spring bean for an 
>> action.
>> 
>> We’d like to do something like:
>> 
>> (in sitemap.xmap)
>> 
>>   
>> 
>> 
>> 
>>   > src="org.apache.cocoon.acting.HttpCacheAction">
>> 
>>   2
>> 
>>   
>> 
>>   
>> 
>> 
>> 
>>   
>> 
>> We define the bean in applicationContext.xml:
>> 
>> 
> 
> I'm not sure, but I think that has to read
> 
>  class="com.gnb.forms.LinkForm">
> 
> Then you should be able to reference the action with the name "LinkForm" 
> in your sitemap, without additionally declaring it in the 
>  section.
> 
> -- Andreas
> 
> 
> 
> -- 
> Andreas Hartmann, CTO
> BeCompany GmbH
> http://www.becompany.ch
> Tel.: +41 (0) 43 818 57 01
> 
> 
> -
> To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org
> For additional commands, e-mail: users-h...@cocoon.apache.org
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Spring-bean-for-action-src-tp22332048p22333703.html
Sent from the Cocoon - Users mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org
For additional commands, e-mail: users-h...@cocoon.apache.org



Is Cocoon the right tool?

2009-03-04 Thread Fernando
Hi,
 
 
First of all, I'm  a newbie, so please bear with me in case any question is
unacceptably idiotic. O:-)
 

 
I'm considering Cocoon for a new project, but being completely new to this
area I'm not 100% sure if it's the right tool for the job.
 
I need to generate complex documents from an xml file. There are 2 steps in
the doc generation:
 
(a) Step 1: No formatting is applied, only the content and structure of the
original xml doc is transformed by a series of hairy rules. I was planning
to use Jess (www.jessrules.com) for this first part and generate a  final
xml doc, ready for step 2.
 
(b) Step 2: The document created by step 1 should be rendered into a
gazillion different formats (different layout, fonts, styles, etc...). The
output should be: RTF, PDF and HTML. MS Word .DOC would be a plus, but not
necessary.
 
Can Cocoon help with Step 2 without requiring significant programming on my
side? Where can I find examples of layout and format definitions for Cocoon?
 

 
Thanks in advance,
Fernando


Re: Is Cocoon the right tool?

2009-03-04 Thread Luca Morandini

Fernando wrote:

Can Cocoon help with Step 2 without requiring significant programming on 
my side? 


Definitively.


Where can I find examples of layout and format definitions for 
Cocoon?


Some pointers:

http://cocoon.apache.org/2.1/howto/howto-html-pdf-publishing.html
http://cocoon.apache.org/2.1/userdocs/pdf-serializer.html
http://cocoon.apache.org/2.1/apidocs/org/apache/cocoon/serialization/RTFSerializer.html
http://cocoon.apache.org/2.1/userdocs/html-serializer.html
http://cocoon.apache.org/2.1/userdocs/xml-serializer.html

And there's something on Microsoft Word and Excel in Cocoon too, via 
Apache POI (I never used that, though).


Regards,


   Luca Morandini
www.lucamorandini.it



-
To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org
For additional commands, e-mail: users-h...@cocoon.apache.org



RE: Is Cocoon the right tool?

2009-03-04 Thread Fernando
 
Hi Luca,

> -Original Message-

> 
> > Can Cocoon help with Step 2 without requiring significant 
> programming 
> > on my side?
> 
> Definitively.
> 

Just to make sure, are layouts like these possible?
http://jobmob.co.il/blog/more-beautiful-resume-ideas-that-work/

Thanks!


-
To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org
For additional commands, e-mail: users-h...@cocoon.apache.org



Re: Is Cocoon the right tool?

2009-03-04 Thread Andre Juffer

Fernando wrote:
 
Hi Luca,



-Original Message-


Can Cocoon help with Step 2 without requiring significant 
programming 

on my side?

Definitively.



Just to make sure, are layouts like these possible?
http://jobmob.co.il/blog/more-beautiful-resume-ideas-that-work/


Many, if not all, of these layouts can be created with CSS. Cocoon would 
return clean (X)HTML (and many other formats) without any particular 
style information. You would just need to ensure that the HTML elements 
have appropriate id's.




Thanks!


-
To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org
For additional commands, e-mail: users-h...@cocoon.apache.org




--
Andre H. Juffer  | Phone: +358-8-553 1161
Biocenter Oulu and   | Fax: +358-8-553-1141
Department of Biochemistry   | Email: andre.juf...@oulu.fi
University of Oulu, Finland  | WWW: www.biochem.oulu.fi/Biocomputing/
StruBioCat   | WWW: www.strubiocat.oulu.fi
NordProt | WWW: www.nordprot.org
Triacle Biocomputing | WWW: www.triacle-bc.com

-
To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org
For additional commands, e-mail: users-h...@cocoon.apache.org



RE: Is Cocoon the right tool?

2009-03-04 Thread Fernando
 
> > Just to make sure, are layouts like these possible?
> > http://jobmob.co.il/blog/more-beautiful-resume-ideas-that-work/
> 
> Many, if not all, of these layouts can be created with CSS. 
> Cocoon would return clean (X)HTML (and many other formats) 
> without any particular style information. You would just need 
> to ensure that the HTML elements have appropriate id's.

But how would this apply to rtf or pdf? I mean, there's no equivalent of CSS
for those formats...


-
To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org
For additional commands, e-mail: users-h...@cocoon.apache.org



Re: Is Cocoon the right tool?

2009-03-04 Thread Andre Juffer

Fernando wrote:
 

Just to make sure, are layouts like these possible?
http://jobmob.co.il/blog/more-beautiful-resume-ideas-that-work/
Many, if not all, of these layouts can be created with CSS. 
Cocoon would return clean (X)HTML (and many other formats) 
without any particular style information. You would just need 
to ensure that the HTML elements have appropriate id's.


But how would this apply to rtf or pdf? I mean, there's no equivalent of CSS
for those formats...


With xsl stylesheets. The actual transformation is performed with the 
pipelines.


TRhis all is well document on the cocoon website.



-
To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org
For additional commands, e-mail: users-h...@cocoon.apache.org




--
Andre H. Juffer  | Phone: +358-8-553 1161
Biocenter Oulu and   | Fax: +358-8-553-1141
Department of Biochemistry   | Email: andre.juf...@oulu.fi
University of Oulu, Finland  | WWW: www.biochem.oulu.fi/Biocomputing/
StruBioCat   | WWW: www.strubiocat.oulu.fi
NordProt | WWW: www.nordprot.org
Triacle Biocomputing | WWW: www.triacle-bc.com

-
To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org
For additional commands, e-mail: users-h...@cocoon.apache.org



Re: Is Cocoon the right tool?

2009-03-04 Thread Mika Lehtonen

Hi Fernando,

I guess you would have to produce your PDF (PS) through Apache FOP. 
According to my experience, you can easily end up into big troubles with 
it, because


a) you have to design your templates by coding and if there is a 
graphical editor available for XSL-FO (don't know), you still end up 
into troubles,
b) because FOP is still quite far from the standard (see: 
http://xmlgraphics.apache.org/fop/compliance.html), especially 0.20.5.


On the other hand, after you have created templates, it does work well. 
But as said, if your needs are demanding, it can happen so that FOP 
isn't yet ready enough. Also the whole XSL-FO is a little "stiff". And 
this would only cover one or two formats.. You still need to create 
stylesheets ("templates") to other formats as well.


- mika -


Fernando kirjoitti:
 
  

Just to make sure, are layouts like these possible?
http://jobmob.co.il/blog/more-beautiful-resume-ideas-that-work/
  
Many, if not all, of these layouts can be created with CSS. 
Cocoon would return clean (X)HTML (and many other formats) 
without any particular style information. You would just need 
to ensure that the HTML elements have appropriate id's.



But how would this apply to rtf or pdf? I mean, there's no equivalent of CSS
for those formats...


-
To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org
For additional commands, e-mail: users-h...@cocoon.apache.org
  


-
To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org
For additional commands, e-mail: users-h...@cocoon.apache.org



Re: Is Cocoon the right tool?

2009-03-04 Thread Luca Morandini

Fernando wrote:
 

Just to make sure, are layouts like these possible?
http://jobmob.co.il/blog/more-beautiful-resume-ideas-that-work/
Many, if not all, of these layouts can be created with CSS. 
Cocoon would return clean (X)HTML (and many other formats) 
without any particular style information. You would just need 
to ensure that the HTML elements have appropriate id's.


But how would this apply to rtf or pdf? I mean, there's no equivalent of CSS
for those formats...


Embedding graphics is possible with both PDF and RTF, though they use a 
completely different syntax from CSS.


Therefore, for PDF you would have to manually write "translators" from 
XML to FO using XSLT, than Cocoon would take care of transforming FO to 
PDF... I guess you would have to do something similar for RTF (never tried).


Seems to me a rather... hmm... *interesting* assignment ;)

Regards,


   Luca Morandini
www.lucamorandini.it



-
To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org
For additional commands, e-mail: users-h...@cocoon.apache.org



Re: Is Cocoon the right tool?

2009-03-04 Thread Mika Lehtonen

Indeed it's an *interesting* assignment. Two things popped up in my mind:
1) Using Cocoon's sitemap and its components can be very enlightening 
experience. They really do are powerfull.
2) While looking your examples, I can't help myself thinking what you 
really are expecting Cocoon to be. Usually creating fancy layouts with 
numerous graphics and effects are connected in our minds to software 
with a powerful graphical user interface. What can you do graphically in 
Cocoon. Nothing, because it's a web development framework not a desktop 
design software. So you have to be prepared in coding, although you can 
do a lot in Cocoon without using any particular programming language. 
But still you have to learn also "Cocoon language" + for example XSL-FO 
etc..


- mika -

Luca Morandini kirjoitti:

Fernando wrote:
 

Just to make sure, are layouts like these possible?
http://jobmob.co.il/blog/more-beautiful-resume-ideas-that-work/
Many, if not all, of these layouts can be created with CSS. Cocoon 
would return clean (X)HTML (and many other formats) without any 
particular style information. You would just need to ensure that the 
HTML elements have appropriate id's.


But how would this apply to rtf or pdf? I mean, there's no equivalent 
of CSS

for those formats...


Embedding graphics is possible with both PDF and RTF, though they use 
a completely different syntax from CSS.


Therefore, for PDF you would have to manually write "translators" from 
XML to FO using XSLT, than Cocoon would take care of transforming FO 
to PDF... I guess you would have to do something similar for RTF 
(never tried).


Seems to me a rather... hmm... *interesting* assignment ;)

Regards,


   Luca Morandini
www.lucamorandini.it



-
To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org
For additional commands, e-mail: users-h...@cocoon.apache.org


-
To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org
For additional commands, e-mail: users-h...@cocoon.apache.org



Re: Is Cocoon the right tool?

2009-03-04 Thread Luca Morandini

Mika Lehtonen wrote:
2) While looking your examples, I can't help myself thinking what you 
really are expecting Cocoon to be. Usually creating fancy layouts with 
numerous graphics and effects are connected in our minds to software 
with a powerful graphical user interface. What can you do graphically in 
Cocoon. Nothing, because it's a web development framework not a desktop 
design software. 


Look, we don't know much about the overall architecture of the system: 
just possibly, there is a graphic "thing" to let the user design a 
template and store it as XML for later re-use, with Cocoon being used 
only at this last stage.



So you have to be prepared in coding, although you can 
do a lot in Cocoon without using any particular programming language. 
But still you have to learn also "Cocoon language" + for example XSL-FO 


I beg to differ: XSL-FO is not related to Cocoon, same for XSLT... it 
just happens that Cocoon users typically use XSLT a lot.


Regards,


   Luca Morandini
www.lucamorandini.it



-
To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org
For additional commands, e-mail: users-h...@cocoon.apache.org



Re: Is Cocoon the right tool?

2009-03-04 Thread Mika Lehtonen

Luca,

first of all, you're right about the thing that we do know almost 
nothing about the overall architecture. I seem to have a sort of a bias 
nowadays. Forgive me that. It just when I was looking 
http://jobmob.co.il/blog/more-beautiful-resume-ideas-that-work/
examples and wondering if those are possible with Cocoon, the whole 
question interpret in my brains into something else.
Secondly, I used that plus sign as an AND operator in order the reader 
to differ these two concepts which in principal aren't even parallel and 
are two individual concepts. I can see I failed in that. What I meant, 
is that in order to finish his assignment with Cocoon, Fernando probably 
would need to write sitemaps as well XSL and other stuff.


- mika -

Luca Morandini kirjoitti:

Mika Lehtonen wrote:
2) While looking your examples, I can't help myself thinking what you 
really are expecting Cocoon to be. Usually creating fancy layouts 
with numerous graphics and effects are connected in our minds to 
software with a powerful graphical user interface. What can you do 
graphically in Cocoon. Nothing, because it's a web development 
framework not a desktop design software. 


Look, we don't know much about the overall architecture of the system: 
just possibly, there is a graphic "thing" to let the user design a 
template and store it as XML for later re-use, with Cocoon being used 
only at this last stage.



So you have to be prepared in coding, although you can do a lot in 
Cocoon without using any particular programming language. But still 
you have to learn also "Cocoon language" + for example XSL-FO 


I beg to differ: XSL-FO is not related to Cocoon, same for XSLT... it 
just happens that Cocoon users typically use XSLT a lot.


Regards,


   Luca Morandini
www.lucamorandini.it



-
To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org
For additional commands, e-mail: users-h...@cocoon.apache.org


-
To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org
For additional commands, e-mail: users-h...@cocoon.apache.org



Re: Is Cocoon the right tool?

2009-03-04 Thread Luca Morandini

Mika Lehtonen wrote:
Secondly, I used that plus sign as an AND operator in order the reader 
to differ these two concepts which in principal aren't even parallel and 
are two individual concepts. I can see I failed in that. 


Well, I failed to notice the plus sign ;)


What I meant, 
is that in order to finish his assignment with Cocoon, Fernando probably 
would need to write sitemaps as well XSL and other stuff.


It's clear now, and I agree.


   Luca Morandini
www.lucamorandini.it



-
To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org
For additional commands, e-mail: users-h...@cocoon.apache.org



Re: Is Cocoon the right tool?

2009-03-04 Thread Jean-Christophe Kermagoret

Hi,
Just have a look at the following link:
* http://re.be/css2xslfo/index.xhtml

Used in conjunction with Cocoon, I think it could be a kill app.

JC

Luca Morandini a écrit :

Fernando wrote:
 

Just to make sure, are layouts like these possible?
http://jobmob.co.il/blog/more-beautiful-resume-ideas-that-work/
Many, if not all, of these layouts can be created with CSS. Cocoon 
would return clean (X)HTML (and many other formats) without any 
particular style information. You would just need to ensure that the 
HTML elements have appropriate id's.


But how would this apply to rtf or pdf? I mean, there's no equivalent 
of CSS

for those formats...


Embedding graphics is possible with both PDF and RTF, though they use 
a completely different syntax from CSS.


Therefore, for PDF you would have to manually write "translators" from 
XML to FO using XSLT, than Cocoon would take care of transforming FO 
to PDF... I guess you would have to do something similar for RTF 
(never tried).


Seems to me a rather... hmm... *interesting* assignment ;)

Regards,


   Luca Morandini
www.lucamorandini.it



-
To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org
For additional commands, e-mail: users-h...@cocoon.apache.org




--
Jean-Christophe Kermagoret
Directeur associe

BlueXML
40, bd Jean Ingres
44100 Nantes

Tel. : +33.2.40.46.62.78
Mob. : +33.6.08.56.83.80


BlueXML : http://www.bluexml.com
KerBlue : http://www.kerblue.org


-
To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org
For additional commands, e-mail: users-h...@cocoon.apache.org



subscribe

2009-03-04 Thread Krishna Thokala
 


Re: Is Cocoon the right tool?

2009-03-04 Thread Luca Morandini

Jean-Christophe Kermagoret wrote:

Hi,
Just have a look at the following link:
* http://re.be/css2xslfo/index.xhtml

Used in conjunction with Cocoon, I think it could be a kill app.


Wow ! Looks great.


   Luca Morandini
www.lucamorandini.it



-
To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org
For additional commands, e-mail: users-h...@cocoon.apache.org