Android解析xml后返回的数据如何获取自己想要的内容并现在textview中

Android解析xml后返回的数据怎么获取自己想要的内容并现在textview中
[No=1001, Name=狱领导, NameOfPath=, ParentNo=100, TreeNo=, Leader=, Tel=, Idx=5, IsDir=1, FK_DeptType=02]
这样的数据我现在想要获取=后边的1001  应该怎么获取  这是解析xml获得的数据 我想取得“No=”后边的1001 在textview中显示  应该怎么实现   急求  知道的 麻烦写下例子   万分感谢
------解决思路----------------------
正则表达式?或者字符串分割呗Android解析xml后返回的数据如何获取自己想要的内容并现在textview中
------解决思路----------------------

String str="[No=1001, Name=狱领导, NameOfPath=, ParentNo=100, TreeNo=, Leader=, Tel=, Idx=5, IsDir=1, FK_DeptType=02]";
String target="";
if(str.startsWith("[")&&str.endsWith("]"))
{
String[] array=str.replace("[", "").replace("]", "").split(",");
for(String temp:array)
{
if(temp.startsWith("No"))
{
if(temp.split("=").length==2)
target=temp.split("=")[1];
}
}

}
System.out.println(target);

测试返回1001