Android Utililty Methods XML Element Child Create

List of utility methods to do XML Element Child Create

Description

The list of methods to do XML Element Child Create are organized into topic(s).

Method

ElementcreateChildElement(Element parent, String tagName, Document doc)
create Child Element
Element child = doc.createElement(tagName);
parent.appendChild(child);
return child;
voidprocessAny(Element element, List any)
Processes any element and add them into the element.
for (Element anyElement : any) {
    Node importedElement = element.getOwnerDocument().importNode(
            anyElement, true);
    element.appendChild(importedElement);