Subject: Re: [xsl] WordML creating blank PDFs using Word2FO stylesheet From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx> Date: Tue, 14 Jun 2011 17:29:27 -0400 |
Regards, Wendell
PDF files are created by FOP 0.95. FO files can also be created using XALAN. Here are the command lines I am using for FO and PDF outputs.
1) fop -d -xml 2005651869151275492_copy4_change1.xml -xsl stylesheets\word2fo.xsl -foout 2005651869151275492_copy4_change1.fo 2) fop -d -xml 2005651869151275492_copy4_change1.xml -xsl stylesheets\word2fo.xsl -pdf 2005651869151275492_copy4_change1.pdf 3) java org.apache.xalan.xslt.Process -IN xmlfile -XSL file -OUT outfile
-----Original Message----- From: Paruchuri, Pardha Sent: Tuesday, June 14, 2011 2:27 PM To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx Subject: RE: [xsl] WordML creating blank PDFs using Word2FO stylesheet
Thanks Wendell. Here is a simple test case. Attached the input XML, XSL files zip and the output FO and PDF files. the input XML was saved in Word 2007(also tried setting save format to Word 2003 XML) and the body/content did not get processed by the XSL thus creating a blank PDF. Please let me know if you need more info. The input XML files are creating PDFs with the same content and layout fine as long as not opened by the Word 2007.
====================================================================== Wendell Piez mailto:wapiez@xxxxxxxxxxxxxxxx Mulberry Technologies, Inc. http://www.mulberrytech.com 17 West Jefferson Street Direct Phone: 301/315-9635 Suite 207 Phone: 301/315-9631 Rockville, MD 20850 Fax: 301/315-8285 ---------------------------------------------------------------------- Mulberry Technologies: A Consultancy Specializing in SGML and XML ======================================================================
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] WordML creating blank PDF, Paruchuri, Pardha | Thread | RE: [xsl] WordML creating blank PDF, Paruchuri, Pardha |
RE: [xsl] WordML creating blank PDF, Paruchuri, Pardha | Date | RE: [xsl] WordML creating blank PDF, Paruchuri, Pardha |
Month |