// --------------------------------------------------------------------- // read/xindice_read.groovy // // Jul/20/2011 // // --------------------------------------------------------------------- import net_manipulate import xml_manipulate // --------------------------------------------------------------------- class xindice_read { // ------------------------------------------------------------------- static void main (args) { println ("*** 開始 ***") def uri= "http://cdbd026:8888/xindice/db/cities/cities" def ee = new net_manipulate () def xml_str = ee.get_uri_proc (uri,"text/xml") // print xml_str def dd = new xml_manipulate () def dict_aa = dd.xml_to_dict_proc (xml_str) def ff = new text_manipulate () ff.dict_display_proc (dict_aa) println ("*** 終了 ***") } // --------------------------------------------------------------------- } // ---------------------------------------------------------------------