i am new to android and xml. so, i would like to know what is xml parsing and how and where we can use it in android application development.
I would also like to know the syntax to be used for this purpose.
thanks
i am new to android and xml. so, i would like to know what
Share
For an introduction to XML, why not start by reading the Wikipedia entry? Basically it is a standardized way to put in form some textual data ; and it is widely used for many, various applications, online or offline.
“Parsing” means processing the XML data to extract values that can be used in your program’s code.
When developing for Android, some XML files are used to store application data (e.g. UI layout, Android manifest,…) The parsing of these files is done automatically at build time by the Android Developer Tools, so you do not need to program it. For example, in this part of the Hello World tutorial, you can learn how to use the XML layout files to compose your User Interface.
If you do need an XML parser, as user Rahul recommended in this question, this great page presents three ways to parse XML on Android and shows example code.