public static Element getOptionalChild ( Element element , String tagName ) throws Exception { return getOptionalChild ( element , tagName , null ) ; }
Gets the child of the specified element having the specified name . If the child with this name doesn t exist then null is returned instead .