code: public Collection<Xml> getChildren()
      {
          final Collection<Xml> nodes = new ArrayList<>(1);
          final NodeList list = root.getChildNodes();
          for (int i = 0; i < list.getLength(); i++)
          {
              final Node node = list.item(i);
              if (node instanceof Element)
              {
                  nodes.add(new Xml(document, (Element) node));
              }
          }
          return nodes;
      }
docs: Get list of all children.
  
  @return The children list.