code: public static Element createElement(String localPart)
     {
        Document doc = getOwnerDocument();
        if (ROOT_LOGGER.isTraceEnabled()) ROOT_LOGGER.trace("createElement {}" + localPart);
        return doc.createElement(localPart);
     }
docs: Create an Element for a given name.
  This uses the document builder associated with the current thread.