Home > Tutorials > Android XML Adventure – What is the “Thing” called XML?

Android XML Adventure – What is the “Thing” called XML?

Currently I’m working on XML Data Storage for Android Application. It’s quite interesting! So I’ve thought to make it into series.

– What is the thing called XML?

Extensible Markup Language (XML) is a set of rules for encoding documents in machine-readable form. It is defined in the XML 1.0 Specification[4] produced by the W3C, and several other related specifications, all gratis open standards.[5]

The design goals of XML emphasize simplicity, generality, and usability over the Internet.[6] It is a textual data format with strong support via Unicode for the languages of the world. Although the design of XML focuses on documents, it is widely used for the representation of arbitrary data structures, for example in web services.

Many application programming interfaces (APIs) have been developed that software developers use to process XML data, and several schema systems exist to aid in the definition of XML-based languages.

As of 2009[update], hundreds of XML-based languages have been developed,[7] including RSS, Atom, SOAP, and XHTML. XML-based formats have become the default for most office-productivity tools, including Microsoft Office (Office Open XML), OpenOffice.org (OpenDocument), and Apple‘s iWork.[8]

(Quoted from Wikipedia: http://en.wikipedia.org/wiki/XML)

– As you see that, XML is really useful and applicable everywhere throughout the Internet nowadays, and you’d better know more about it.

– In Android, XML is used for resource planning like layout, strings (localization), … or the pre-defined SharedPreferences, or to be used as custom database…

– In this series “Android XML Adventure“, I will talk to you about the way how we can handle XML file in Android.


  1. What is the “Thing” called XML?
  2. Parsing XML Data w/ SAXParser
  3. Parsing XML Data w/ DOMParser
  4. Parsing XML Data w/ XMLPullParser
  5. Create & Write XML Data
  6. Compare: XML Parsers
  7. Parsing XML using XPath
  8. Parsing HTML using HtmlCleaner
  9. Parsing HTML using JSoup
  10. Sample Project 1: RSS Parser – using SAXParser
  11. Sample Project 1: RSS Parser – using DOM Parser
  12. Sample Project 1: RSS Parser – using XMLPullParser
  13. Sample Project 2: HTML Parser – using HtmlCleaner
  14. Sample Project 2: HTML Parser – using JSoup
  15. Finalization on the “Thing” called XML!

Be await for me, this series will make you fall in love XML for real 🙂


Pete Houston

  1. tungdx
    November 14, 2011 at 10:58 am

    Em có hai câu hỏi sau, mong anh trả lời giúp ạ
    1. Trong Android thì tạo file Schema và DTD như thế nào?
    2. Cách dùng file Schema và DTD đó để validate tài liệu XMl viết ra

  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: