Dear All,
Anyone tried using docx4j for converting Flat OPC XML format (Custom XML) to docx?
I tried various links provided in old docx forums. but getting exceptions
Links
http://www.docx4java.org/svn/docx4j/tru ... nding.java
1)DOcx 4j Code
public static void main(String args) throws Exception {
String inputfilepath ="/docx4j-master/sample-docs/word/databinding/invoice-data.xml";
String outputfilepath = "/docx4j-master/sample-docs/word/databinding/sampleoutput.docx";
String itemId = "apples".toLowerCase();
// Load the Package
WordprocessingMLPackage wordMLPackage;
// First get the Flat OPC package from the ...