private static List<Element> getElementsWithRegardToNamespace(@NotNull Element parent, String childrenName, List<String> namespaces) {
    List<Element> elements = parent.getChildren(childrenName);
    if (!elements.isEmpty()) return elements;
    for (String namespace : namespaces) {
      elements = parent.getChildren(childrenName, Namespace.getNamespace(namespace));
      if (!elements.isEmpty()) return elements;
    }
    return Collections.emptyList();
  }
private static List<Element> getElementsWithRegardToNamespace(@NotNull Element parent, String childrenName, List<String> namespaces)