Created XSLT_FO by Altova StyleVision, not work on Apache FOP

2010-05-07 Thread soph
I have an XML file and its schema. I want to create an XSL_FO file for converting XML to PDF by Apache FOP. I created an XSLT_FO file by using Altova StyleVision. The pdf looks fine on "Preview PDF" in Altova StyleVision. I export the sps and save as XSLT_FO. When I use Apache FOP to process the

Re: Created XSLT_FO by Altova StyleVision, not work on Apache FOP

2010-05-08 Thread bonekrusher
Hi, Your xml and xslt transform fine via FOP 0.95 command line. What version of apache are you using? I am confused about what you mean by export the .sps file and save as xsl_fo. Do you mean you generate the xslt file from stylevision? Are you using apache from the command line or through XMLS

Re: Created XSLT_FO by Altova StyleVision, not work on Apache FOP

2010-05-08 Thread soph
Thank you very much! I am using FOP 0.95 . Yes, I mean generating XSLT_FO file from stylevision. The attached XSLT_Fo_bystylevision.xslt is generated by stylevision. I am using command line : Fop -xml ClinicalDoc.xml -xsl XSLT_Fo_bystylevision.xslt -pdf foo.pdf . But I got error message "Can not

Re: Created XSLT_FO by Altova StyleVision, not work on Apache FOP

2010-05-09 Thread bonekrusher
Happy to help. It looks like you are using the default xslt processor for fop which uses Apache Xalan-J, a xslt 1.0 processor (http://xalan.apache.org/). Your stylesheets is for a 2.0 processor. Export your stylevision sps project to a xsl-fo 1.0 file. Good luck. Phil -- View this message in co

Re: Created XSLT_FO by Altova StyleVision, not work on Apache FOP

2010-05-09 Thread soph
Ya! I export the sps project to a xsl-fo 1.0 file and it works. Thank you very much Phil.:clap: bonekrusher wrote: > > Happy to help. It looks like you are using the default xslt processor for > fop which uses Apache Xalan-J, a xslt 1.0 processor > (http://xalan.apache.org/). Your stylesheets i