S
Steven
Following is the string ...
<ADDRESSINFO name = "Cedar Ave" no = "21123" attrib ="visible">
<HOUSE name ="main" type ="1" value ="2200"/>
<HOUSE name ="slide" type ="12" value ="123"/>
<HOUSE name ="major" type ="1" value ="1234"/>
<HOUSE name ="branch" type ="1" value ="31980"/>
</ADDRESSINFO>
<ADDRESSINFO name = "5th Street" no = "65653" attrib ="visible">
<HOUSE name ="minor" type ="2" value ="43121"/>
<HOUSE name ="corner" type ="90" value ="65109"/>
<HOUSE name ="tree" type ="22" value ="7"/>
<HOUSE name ="walk" type ="2" value ="721"/>
</ADDRESSINFO>
.....................................................
....................................................// text goes on like this
I want to give the name value in ADDRESSINFO tag and get all the House names
of that particular Addressin an array. How can I do this?
eg., If I give 5th street as the input, I should get minor, corner, tree,
walk in an array .
Any help would be greatly appreciated!
Regards
Steven
<ADDRESSINFO name = "Cedar Ave" no = "21123" attrib ="visible">
<HOUSE name ="main" type ="1" value ="2200"/>
<HOUSE name ="slide" type ="12" value ="123"/>
<HOUSE name ="major" type ="1" value ="1234"/>
<HOUSE name ="branch" type ="1" value ="31980"/>
</ADDRESSINFO>
<ADDRESSINFO name = "5th Street" no = "65653" attrib ="visible">
<HOUSE name ="minor" type ="2" value ="43121"/>
<HOUSE name ="corner" type ="90" value ="65109"/>
<HOUSE name ="tree" type ="22" value ="7"/>
<HOUSE name ="walk" type ="2" value ="721"/>
</ADDRESSINFO>
.....................................................
....................................................// text goes on like this
I want to give the name value in ADDRESSINFO tag and get all the House names
of that particular Addressin an array. How can I do this?
eg., If I give 5th street as the input, I should get minor, corner, tree,
walk in an array .
Any help would be greatly appreciated!
Regards
Steven