Working through this as I go: First, I need to add the appropriate xmlTag to the document, if it doesn't exist:
#target indesign
var doc = app.activeDocument;
var imageTag = doc.xmlTags.item("Image");
if (imageTag.isValid === false) {
doc.xmlTags.add ("Image");
}