Re: xhtml2fo.xsl working with FOP ?

2002-06-18 Thread Alexis HAUMONT

Alexis HAUMONT wrote:



fo:table-and-caption is not implemented in FOP. The whole
content is silently dropped.
J.Pietschmann
Thanks for that information.
I should have read this : http://xml.apache.org/fop/implemented.html
I guess every tag that doesn't appear in this list is silently ignored.
I'm going to tune the Xhtml2Fo.xsl from antennahouse to work with FOP, 
I'll post that to the List once done.
My project uses an online wysiwig xhtml editor (EditOnPro) and the 
result must be merge with some Xml content extracted from a database to 
produce a digitally signed PDF, I hope once that everything would have 
been so easy.. and its almost.. I just have to tune that stylesheet.

Alex.


Re: xhtml2fo.xsl working with FOP ?

2002-06-17 Thread J.Pietschmann
Alexis HAUMONT wrote:


fo:table-and-caption is not implemented in FOP. The whole
content is silently dropped.
J.Pietschmann


Re: xhtml2fo.xsl working with FOP ?

2002-06-17 Thread Alexis HAUMONT
Hi,
thanks for you're
I've got several problems regarding html  :
Fop seems requires the definition of each column width whereas my 
xhtml2fo.xsl doesn't :
Here's my test xhtml fragment :


http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
http://www.w3.org/1999/xhtml"; xml:lang="en" lang="en">


 
sdf 
  
sdf 
  
 


Xslt transformation with 
[http://www.antennahouse.com/sample1/xhtml2fo/Xhtml2fo.xsl] give me this 
.fo :

../..






 sdf 

../..

which rendered in PDF as.. a blank page.
the   are missing.. and FOP doesn't 
render anything.

I'm modyfiing the Xslt stylesheet, but I was wondering if someone has 
already achieve that job... as FOP doesn't implements table-width 
calculation, I guess I'm gone have to compute something for theese 
column-width.

say, for the given xhtlk fragment above : column-width = 25% * 
[EMAIL PROTECTED] * [EMAIL PROTECTED] ??
or is there some kind of relative column-witdh attribute I may use with 
FOP ?

Did you face the same problem ?
Thanks
Alex

Oleg Tkachenko wrote:
Alexis HAUMONT wrote:
I want to convert a document containing some XHTML tags to PDF, using 
an xslt transformation.
I've seen several post on the mailing list archive with the same 
question, few response, and the only stylesheet
everyone seems to point to (http://www.antennahouse.com) does not 
work with xml-FOP, at least not
with my very simple XHTML test file containing a simple .
What exactly is the problem?
Has somenone already succeed in producing a valid xsl:fo file using 
such a stylesheet ?
I was using that stylesheet sometime ago and I found it rather 
sketchy, so I had to customize it to get support for html's 
frame/rules, cellspacing etc stuff. Anyway it worked exept of 
unsupported by fop objects.




Re: xhtml2fo.xsl working with FOP ?

2002-06-17 Thread Oleg Tkachenko
Alexis HAUMONT wrote:
I want to convert a document containing some XHTML tags to PDF, using an 
xslt transformation.
I've seen several post on the mailing list archive with the same 
question, few response, and the only stylesheet
everyone seems to point to (http://www.antennahouse.com) does not work 
with xml-FOP, at least not
with my very simple XHTML test file containing a simple .
What exactly is the problem?
Has somenone already succeed in producing a valid xsl:fo file using such 
a stylesheet ?
I was using that stylesheet sometime ago and I found it rather sketchy, so I 
had to customize it to get support for html's frame/rules, cellspacing etc 
stuff. Anyway it worked exept of unsupported by fop objects.

--
Oleg Tkachenko
Multiconn International Ltd, Israel