def append_child(parent_el, name, content=None, meta=None):
    doc = parent_el.ownerDocument
    elm = doc.createElement(name)
    parent_el.appendChild(elm)
    if content:
        txt_node = doc.createTextNode(content)
        elm.appendChild(txt_node)
        if meta:
            txt_node.disp_meta_ = meta
    return elm
Returns a new xml element with the given name and optional text content
dataset/ETHPy150Open jahlborn/appengine-rest-server/src/main/python/rest/__init__.py/append_child