code: private LayoutElement parseElement(Element node, LayoutElement parent) {
          LayoutElement layoutElement = newLayoutElement(node, parent, null);
          parseChildren(node, layoutElement, Tag.ELEMENT, Tag.TRIGGER);
          return layoutElement;
      }
docs: Parse a layout element node.
  
  @param node The DOM node.
  @param parent The parent layout element.
  @return The newly created layout element.