tags:

views:

72

answers:

5

I know Java and C++ but am looking to get in to XML. I don't want to waste time reading over the basics of programming in a book, so has anyone any recommendations for resources for learning XML that assume a knowledge of programming already, or even better highlight how to switch from Java/C++ to XML ie. main differences etcs.

+2  A: 

XML is not a programming language as Java/C++, as it cannot describe behavior.

XML is a markup language specification used to describe data.

Francisco Soto
So you have tags in it but the real reason I want to know is I understand Android Apps are built in XML and Java so was wondering how you would go about this
Greenhouse Gases
I think you use XML to describe the UI in Android apps, not to program them. Not sure about this thought, I haven't developed for Android.
Francisco Soto
I will look into it over the summer. Thanks for your help
Greenhouse Gases
+5  A: 

XML is not a programming language. It is a markup language. It's mainly used to store/transmit data in a structured manner.

If you know Java and C++, there are libraries out there that can load and parse XML files.

Adding to Soto's answer, you can technically use it to describe behavior (e.g. XAML, processing instructions), but most of the time it's for storing and transmitting data in a certain way.

In your case, XML can be used to describe the GUI layout of an Android application.

In silico
A: 

To follow on from the others any decent XML reference will get you started, try here: w3schools

t0ne
A: 

To get to the core, you can go to the source and read the overview or go directly to the XML 1.1 standard.

rsp
A: 

XML is a Extensive Markup language, Since you are from java or C++ background, XML will be a topup for you in your skillset

For Java, you can JAXP for DOM parsing and SAX parsing an XML File.

Personnally i dont think that you will get into completely XML platform, I feel its just extra ad on along with your main skill.

harigm