public static Element getLastChildElement(Document doc, String name, String ns){
        return getLastChildElement(doc.getDocumentElement(), name, ns);
    }
public static Element getLastChildElement ( Document doc , String name , String ns ) { return getLastChildElement ( doc . getDocumentElement ( ) , name , ns ) ; }
@param doc
@param name
@param ns
@return