Still having trouble understanding what XML is? In this article Zaid provides a quick primer in which he breaks down an XML document, detailing what each part is as he goes. A must read for the XML beginner.
The Makeup of an XML Document A Quick Primer (Page 1 of 3 )
In recent years, the extensible markup language (XML) has been adopted by more and more businesses as an industry standard for data exchange and data sharing. XML provides a system-independent standard format for specifying the information exchanged over networks and between applications.
The concept of XML is fairly simple, but the effectiveness it brings to the distributed computing world is tremendous. It revolutionizes the ways in which companies conduct business online, from Internet content delivery (wired or wireless) to electronic commerce to enterprise computing.
From a developer's perspective, Java makes your application portable among different platforms, and XML makes your data portable among different applications. These languages make our lives easier.
In todays article we will lean the basic fundamentals of how to parse an XML document. We will earn about both even-based and tree-based parsers. I will focus more towards Java when explaining things, but the concepts in this article are useful for those learning XML in general.