https://github.com/plutext/docx4j/blob/ ... lEdit.java
// If we know the itemId ....
String itemId = "{5448916C-134B-45E6-B8FE-88CC1FFC17C3}".toLowerCase();
CustomXmlDataStoragePart customXmlDataStoragePart = (CustomXmlDataStoragePart)wordMLPackage.getCustomXmlDataStorageParts().get(itemId);
// .. if you don't know the itemId (which you can get using ContentControlsPartsInfo),
I'm still confused on how to get the itemId and I can't seem to find any real info on the "ContentControlsPartsInfo"
I've created an example word file (attached) and using the OpenDOPE authoring plugin I've added an XML part with three elements (very simple stuff)
this example works perfectly, but in "production", I'm being handed the .docx file and I need to figure out how to identify the part containing the values I need to update. I only added one part, but there appears to be three parts.