cadourionlineo
New Member
I am using DOM Parser to parse an online XML file in my Activity and I have managed to retreive the data succssfully. My question is somewhat similar to this apart from the fact that mine is in Android.I have a string value lets say Salmon, which is what I need to find in the online XML file. Now lets say the file is somewhat like this:\[code\]<menu> <item><id>1</id> <name>Salmon Fillets</name><description></description><ingredients></ingredients><recipe></recipe></item><item><id>1</id> <name>Salmon Stake</name><description></description><ingredients></ingredients><recipe></recipe></item></menu>\[/code\]I want to parse the file so that if the string value is Chicken, then all the name nodes that contain chicken should appear on the screen.