Hi jason,
I am loading the custom xml by using the following code snippet
String itemId = "{2e80dc51-dc3b-4296-bf09-3e682aab035a}".toLowerCase();
CustomXmlDataStoragePart customXmlDataStoragePart = wordMLPackage.getCustomXmlDataStorageParts().get(itemId);
CustomXmlDataStorage customXmlDataStorage = customXmlDataStoragePart.getData();
Document doc= ((CustomXmlDataStorageImpl)customXmlDataStorage).getDocument();
// remove source of fund first row
doc.removeChild(((CustomXmlDataStorageImpl)customXmlDataStorage).xpathGetNodes("/investmentTemplate/sourceoffunds", " ").get(0));
Following one is custom xml structure
<investmentTemplate>
<sourceoffunds>
<fund>
<serviceName></serviceName>
<productname>pname</productname>
<owner>owner</owner>
<value>value</value>
</fund>
<exist></exist>
</sourceoffunds>
</investmentTemplate>
i want to remove the fund elment first as its mapped to ducument with static ...

News of Plutext