private static List < String > getElementsId ( Document document ) { List < String > result = new ArrayList < String > ( ) ; List < Element > elementList = getElements ( document ) ; result = getElementsId ( elementList ) ; return result ; }
Reads XML document and returns it content as list of query names