XML in Android
In this video we are going to see what is XML in Android and how it is used to create Web Service application.
XML stands for Extensible Mark-up Language. It is used to cover up HTML limitations. It doesn't mean that XML is replacement of HTML, but it just solves HTML problems.
HTML has more than 100 texts, and it shows output in browser. So HTML display depends on browser only.
As HTML has more than 100 texts, and it shows output in browser. So HTML display depends on browser only. While in XML it displays evenly in any format.
We use XML for maintenance of a website, for data loading and unloading, and also we can access it in any data format.
For parsing XML we are going to use XMLPullParser because it is efficient and easy to use, and is fast.
The next() method of XMLPullPARSER moves the cursor pointer to the next event. Generally we use four constants defined in the XMLPullPARSER interface.
Have a friend to whom you would want to share this course?