i take a xml element and the tag name , look for the tag and get the text content i.e for john xml snippet if the element points to employee node and tagname is name i will return john concode_field_sep Logger logger concode_field_sep CommandParam readParam concode_elem_sep void loadFromXml concode_elem_sep int getIntValue concode_elem_sep FlexCommand getCommand concode_elem_sep CommandParams readParams
String function ( Element arg0 , String arg1 ) { String loc0 = null ; NodeList loc1 = arg0 . getElementsByTagName ( arg1 ) ; if ( loc1 != null && loc1 . getLength ( ) > 0 ) { Element loc2 = ( Element ) loc1 . item ( 0 ) ; loc0 = loc2 . getFirstChild ( ) . getNodeValue ( ) ; } return loc0 ; }