protected Element getElement ( String name , int index ) { List < Element > children = getElement ( ) . getChildren ( name ) ; if ( children . size ( ) > index ) return children . get ( index ) ; else return null ; }
Helper method to retrieve a child element with a particular name and index