我想在android中解析带有name标签的option标签,我希望这种类型解析arraylist数据这个 [[anyType {}],[男人,孩子,女人,Maddy],[桑迪]]
AuthenticateResponse
{
Options=anyType
{
Form=anyType
{
Name=Form;id=12; option=anyType{};
};
Form=anyType
{
Name=Form1 ;id=13;
option=anyType
{
Name=Man;Id=167;Value=textview;Select=male,female
};
option=anyType
{
Name=Kid;Id=157;Value=checkbox;Select=graduate,postgraduate
};
option=anyType
{
Name=Women;Id=147;Value=textview;Select=lower,upper
};
option=anyType
{
Name=Maddy;Id=167;Value=textview;Select=male,female
};
};
Form=anyType
{
Name=Form;id=17;
option=anyType
{
Name=Sandy;Id=187;Value=checkbox;Select=door,close
};
};
};
};
请帮帮我
答案 0 :(得分:1)
希望这个链接可以帮到你.. http://seesharpgears.blogspot.in/2010/10/ksoap-android-web-service-tutorial-with.html
或者可能会有所帮助
http://stackoverflow.com/questions/3092424/parsing-ksoap2-response