[android-developers] XML document parsing using the DOM API

2011-01-07 Thread Ajay Prabandham
Dear All, 1. I am currently trying to parse simple-structured xml documents using Android SDK DOM Parser API. e.g : document docidDocument1/docid featureFeature1/feature /document and so on. not much nesting of elements, a neat, flat document structure. I

Re: [android-developers] XML document parsing using the DOM API

2011-01-07 Thread TreKing
On Fri, Jan 7, 2011 at 12:04 PM, Ajay Prabandham parth...@gmail.com wrote: Any help would be greatly appreciated... 1 - New String(docid) is pointless. 2 - Please read the documentation for these classes. The APIs for DOM are pretty straightforward. If you do get stuck, there should be plenty

Re: [android-developers] XML document parsing using the DOM API

2011-01-07 Thread Frank Weiss
This is a familiar question on the Android SDK forum, yet has little to do with the SDK. Better to search the web where the subject of parsing XML with Java is covered more broadly. I would suggest using the SAX push or the SAX pull parsers instead of the document builder (DOM) parser. All are

Re: [android-developers] XML document parsing using the DOM API

2011-01-07 Thread Ajay Prabandham
oops my sincere apologies for cluttering android space with this queryin fact, i am new to Java as well, so did not realize this is a Java issue. Will check the Java API documentation. Thanks for redirecting me. Regards, Ajay -- You received this message because you are