Hi Jason,
Can you please give me a sample coding for creating /customXml/item1.xml through coding?
I tried to create using createDocxWithCustomXml.java as given in docx4j.2.6.0 version. since it returns null document in createCustomXmlDocument method, there is no customXML found in the document. I’ve attached the document.
I tried to return a document in createCustomXmlDocument method using following code
public static Document createCustomXmlDocument(Document document)
{
Element root = document.createElement("root");
root.setAttribute("att1", "att1val");
root.setTextContent("some value");
return document;
} ...