Page 1 of 1

XmlUtils.transform(domDoc,xslt,jaxbcontext) issues

PostPosted: Tue Dec 27, 2011 3:24 am
by santoshkumar
Dear All,

please help to transform my docx file that has the table content as well as text.

i am posting the stuckin line.

import org.docx4j.XmlUtils;
Document domDoc = XmlUtils.marshaltoW3CDomDocument(sections,Context.jcSectionModel);
XmlUtils.transform(domDoc, xslt, settings.getSettings(), result);------WHEN THE CONTROLL COMES FOR THE TRANSFORMATION BY THIS WAY
is's giving FOP ISSUES.

XmlUtils.transform()-------Transformation issues, or fop issues. any alternate method or any jar that i am missing, please suggest.

Re: XmlUtils.transform(domDoc,xslt,jaxbcontext) issues

PostPosted: Tue Dec 27, 2011 11:30 am
by jason
Hi, you haven't posted enough information for anyone to help.

Are you trying to transform to PDF? "FOP ISSUES" suggests you are. Are you using the standard docx4j code for producing a PDF via XSLFO?

If so, you'll need to post a simple docx exhibiting your issue. Which version of docx4j are you using?