code: public ElemTemplateElement removeChild(ElemTemplateElement childETE)
    {
  
      if (childETE == null || childETE.m_parentNode != this)
        return null;
  
      // Pointers to the child
      if (childETE == m_firstChild)
        m_firstChild = childETE.m_nextSibling;
      else
      {
        ElemTemplateElement prev = childETE.getPreviousSiblingElem();
  
        prev.m_nextSibling = childETE.m_nextSibling;
      }
  
      // Pointers from the child
      childETE.m_parentNode = null;
      childETE.m_nextSibling = null;
  
      return childETE;
    }
docs: Remove a child.
  ADDED 9/8/200 to support compilation.
  TODO: ***** Alternative is "removeMe() from my parent if any"
  ... which is less well checked, but more convenient in some cases.
  Given that we assume only experts are calling this class, it might
  be preferable. It's less DOMish, though.
  
  @param childETE The child to remove. This operation is a no-op
  if oldChild is not a child of this node.
  
  @return the removed child, or null if the specified
  node was not a child of this element.