- Code: Select all
Object clonedObj = XmlUtils.deepCopy(paraNodeObj);
I want to modify content of the nodes that are returned from xpath, then eventually add the cloned nodes back to the document that I'm working on.
Is this possible?
It is currently Wed Jan 01, 2025 8:12 pm
Object clonedObj = XmlUtils.deepCopy(paraNodeObj);
java.lang.NullPointerException
at org.docx4j.model.PropertyResolver.init(PropertyResolver.java:193)
at org.docx4j.model.PropertyResolver.<init>(PropertyResolver.java:161)
at org.docx4j.openpackaging.parts.WordprocessingML.MainDocumentPart.getPropertyResolver(MainDocumentPart.java:177)
Total posts 10114 • Total topics 2844 • Total members 2075