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.
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.
XML is not a programming language as Java/C++, as it cannot describe behavior.
XML is a markup language specification used to describe data.
To get to the core, you can go to the source and read the overview or go directly to the XML 1.1 standard.
To follow on from the others any decent XML reference will get you started, try here: w3schools
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.
精彩评论