RE: [xsl] WordML creating blank PDFs using Word2FO stylesheet

Subject: RE: [xsl] WordML creating blank PDFs using Word2FO stylesheet
From: "Paruchuri, Pardha" <Pardha.Paruchuri@xxxxxxxxxx>
Date: Tue, 14 Jun 2011 17:37:06 -0400
I understand. There is a newer version for XSL Word 2007, I will try it
and go by the vendor if needed.
Yes the attachments were rejected. Thanks for your help.

-----Original Message-----
From: Wendell Piez [mailto:wapiez@xxxxxxxxxxxxxxxx]
Sent: Tuesday, June 14, 2011 5:29 PM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re: [xsl] WordML creating blank PDFs using Word2FO stylesheet


With apologies, I was not offering to help.

My suggestion for you to clarify your question was made on behalf of the

list as a whole: by and large, the only requests for assistance that
that go completely unanswered (as yours has) are the ones that are not
answerable within the constraints of the list. I thought you should know

that we weren't simply ignoring you (there might be readers who would
help if they could, but they can't), and tried to indicate how you could

make your question answerable.

But you haven't done that. Please note, in particular, that the list
does not accept attachments. (Attachments tend to clog the pipes, and
their contents are invisible unless we open them. They can also be
unsafe to share among strangers.)

If you want an answer to your question, you are going to have to be more

specific as to what it is.


On 6/14/2011 3:06 PM, Paruchuri, Pardha wrote:
> 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
> 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
> -----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.
> input XML files are creating PDFs with the same content and layout
> as long as not opened by the Word 2007.

Wendell Piez                            mailto:wapiez@xxxxxxxxxxxxxxxx
Mulberry Technologies, Inc.      
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