This doesn't make any sense: if you don't know what you *want* to do with the file, then.., what are you going to *do* with the file. Just because you don't know the tag names, there's no reason you can't recognize them. What are you actually trying to do, why don't you know the structure of the file?
kris On Mon, Jan 9, 2012 at 8:03 AM, venu reddy <[email protected]> wrote: > Yes mukesh... > > I dont know the node list....and all about XML > > But I need to read.. is there any alternative? > > using XMLPULLPARSER , we need to create XmlPullParser object..and using this > object we can do any thing,, > > Actually my XML file in SD card , reading XML file from SD card using below > code > File sdcard = Environment.getExternalStorageDirectory(); > File file = new File(sdcard,"myxml.xml"); > > but that xml file in file format ... > how Can i this file i dont know ..pls help this... > > > On Mon, Jan 9, 2012 at 7:15 PM, Mukesh Srivastav <[email protected]> > wrote: >> >> Venu are you saying that, you do know the 'Node list' or XML Tags and you >> wanted to read it dynamically, isnt ? >> >> Secondly, how do you design your application class or Data object for >> model ? >> >> >> >> >> On Mon, Jan 9, 2012 at 7:08 PM, Mark Murphy <[email protected]> >> wrote: >>> >>> On Mon, Jan 9, 2012 at 8:33 AM, venu gopal reddy <[email protected]> >>> wrote: >>> > Hi friends, >>> > >>> > I am getting one XML file from one web services cal , i stored this >>> > XML file into my sd card , >>> > >>> > Now Just I want to read the XML file(I mean parsing) . >>> > >>> > Using SAX parser we can read already knew format of XML file .. >>> >>> Huh? >>> >>> > Here this case i Dont know the format.. >>> > >>> > How can I read Dynamically generated XML files? >>> >>> Use SAX. Or, use the DOM. Or, use XmlPullParser. All of those are >>> integrated into Android, and the first two are the same as with any >>> Java development. >>> >>> Or, use a third-party XML parser, if you can find one that works on >>> Android. >>> >>> -- >>> Mark Murphy (a Commons Guy) >>> http://commonsware.com | http://github.com/commonsguy >>> http://commonsware.com/blog | http://twitter.com/commonsguy >>> >>> Android Training in NYC: http://marakana.com/training/android/ >>> >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "Android Developers" group. >>> To post to this group, send email to [email protected] >>> To unsubscribe from this group, send email to >>> [email protected] >>> For more options, visit this group at >>> http://groups.google.com/group/android-developers?hl=en >> >> >> >> >> -- >> Warm Regards, >> Mukesh Kumar, >> Android Consultant/Freelancer, >> India,Hyderabad. >> >> -- >> You received this message because you are subscribed to the Google >> Groups "Android Developers" group. >> To post to this group, send email to [email protected] >> To unsubscribe from this group, send email to >> [email protected] >> For more options, visit this group at >> http://groups.google.com/group/android-developers?hl=en > > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

