question: private void outputClients ( Properties ctx , PrintWriter out , int clientID , boolean includeAny ) { out . println ( "<clients>" ) ; if ( includeAny ) { out . println ( "<client id='-1'" ) ; if ( clientID == 0 ) out . println ( " selected='selected'" ) ; out . println ( ">ANY</client>" ) ; } for ( MClient client : MClient . getAll ( ctx ) ) { out . print ( "<client id='" + client . getAD_Client_ID ( ) + "'" ) ; if ( clientID == client . getAD_Client_ID ( ) ) out . print ( " selected='selected'" ) ; out . println ( ">" + Util . maskHTML ( client . getName ( ) ) + "</client>" ) ; } out . println ( "</clients>" ) ; }
target:  Output XML list of Clients