private Element findFirstChildByTag(Element element, String name){
        Node current = element.getFirstChild();

        while(null != current){

            if(name.equals(current.getNodeName()))
                return (Element)current;

            current = current.getNextSibling();
        }

        return null;
    }