views:

191

answers:

1

Hi guys,

I like to use Xpath to parse XML ins java, but when I am doing the same on android, XPath is not found.

any idea how it can be implemented. and also if its not possible then any other parser for android which is fast?

Thanks

Kai

A: 

You could follow this tutorial http://www.java-tips.org/java-se-tips/javax.xml.parsers/how-to-read-xml-file-in-java.html to parse an XMLfile in Android. It works very well.

Roflcoptr
Thanks Sebi,I have tried the way mentioned in the link, actually was using that but it is very sluggish, I want to parse it a bit more fast, isn't there any other way to parse?please this one is very urgent.Thanks.
kaibuki
I think there are other ways, but I just used the one mentioned above and I had no problem with that solution. So i can't help you with other solutions. Sorry.
Roflcoptr