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 resolve namespace prefix: #all " Do you mean you can get a pdf file generated via FOP by feeding my XML and XSLT ? Cheers bonekrusher wrote: > > 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 XMLSpy? > > I would suggest breaking away from using stylevision. This is a cool tool > to make the WYSIWYG, but has a lot of limitations when writing FO. > > > > soph wrote: >> >> 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 XML and the XSLT_FO to PDF. >> I keep receiving error :"Can not resolve namespace prefix..." The XML is >> valid in XMLSPy. I don't see any namespace problem. Can any one help me? >> >> The xml http://old.nabble.com/file/p28492466/ClinicalDoc.xml >> ClinicalDoc.xml and the xslt_fo >> http://old.nabble.com/file/p28492466/XSLT_Fo_bystylevision.xslt >> XSLT_Fo_bystylevision.xslt are attached. Thank you !! >> > > -- View this message in context: http://old.nabble.com/Created-XSLT_FO-by-Altova-StyleVision%2C-not-work-on-Apache-FOP-tp28492466p28500799.html Sent from the FOP - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
