You are viewing a plain text version of this content. The canonical link for it is here.
Posted to taglibs-dev@jakarta.apache.org by Roberto Mannai <ro...@poste.it> on 2002/09/30 12:59:36 UTC

pdf tag considerations

Hi all,
Pierre, Henri, I want to specify target and utility of a pdf tag.
 
--Target
 
First of all, the tag is related exclusively with the presentation of
data, in a MVC model. This means that the tag has no 
functionality by itself.
Can be interested exclusively who in the presentation:
- wants to present data in a pdf format;
- is oriented to a XML technology: set a "fo" namespace ("
http://www.w3.org/1999/XSL/Format <http://www.w3.org/1999/XSL/Format> ",
see 
" http://www.w3.org/TR/2001/REC-xsl-20011015/
<http://www.w3.org/TR/2001/REC-xsl-20011015/> #") , by XSLFO
"transformations" is possible to obtain PDF format;
- consequentially, has written a xls stylesheet to transform a xml in
FO;
- wants use in converting the Apache XML FOP Project formatter (see "
http://xml.apache.org/fop/index.html
<http://xml.apache.org/fop/index.html> ");
 
In particular: if a jsp produce a XHTML page, and the developer has
written a stylesheet that transform it in FO format,
is possible send a pdf stream to the client.
 

--Utility
 
Perhaps, this is not the right place, but the tag can be more generic
and portable vs the servlet example in 
" http://xml.apache.org/fop/embedding.html
<http://xml.apache.org/fop/embedding.html> ". This convert only FO in
PDF, the tag can also transform xml (the body content) in fo, with an
attribute that specifies the stylesheet location.
I'm realizing that in effect cannot be useful at all, as obtain pdf from
jsp is resulted not be a common practice, while I 
thought it was. So do I should retire the proposal?
 
ciao,
roberto