code: public static Layout parseDocument(Document document) {
          return new Layout(instance.parseChildren(document, null, Tag.LAYOUT));
      }
docs: Parse the layout from an XML document.
  
  @param document An XML document.
  @return The root layout element.