newText = doc.createTextNode("Text Node");
newEntRef = doc.createEntityReference("alpha");
appendedChild = newAttr.appendChild(newText);
newText = doc.createTextNode("Text Node");
newEntRef = doc.createEntityReference("alpha");
appendedChild = newAttr.appendChild(newText);