UtilXml.addChildElementValue(entryElem, "g:item_type", "products", feedDocument);
UtilXml.addChildElementValue(entryElem, "g:price", price, feedDocument);
if (UtilValidate.isNotEmpty(image_link)) {
UtilXml.addChildElementValue(entryElem, "g:image_link", image_link, feedDocument);
}
<BUG>Element appControlElem = UtilXml.addChildElement(entryElem, "app:control", feedDocument);
appControlElem.setAttribute("xmlns:app", "http://purl.org/atom/app#");
UtilXml.addChildElementValue(appControlElem, "app:draft", "yes", feedDocument);</BUG>
}
dataItemsXml.append(UtilXml.writeXmlDocument(feedDocument));

UtilXml.addChildElementValue(entryElem, "g:item_type", "products", feedDocument);
UtilXml.addChildElementValue(entryElem, "g:price", price, feedDocument);
if (UtilValidate.isNotEmpty(image_link)) {
UtilXml.addChildElementValue(entryElem, "g:image_link", image_link, feedDocument);
}
}
dataItemsXml.append(UtilXml.writeXmlDocument(feedDocument));
