public static List<Element> getChildElementsNs(Element e, String ns, String name) {
        List<Element> childElements = new ArrayList<>();
        NodeList childList = e.getElementsByTagNameNS(ns, name);
        int length = childList.getLength();
        for (int i = 0; i < length; i++) {
            childElements.add((Element) childList.item(i));
        }
        return childElements;
    }