XML For REAL: The Basics
Getting started with XML and REALbasic
Issue: 7.2 (January/February 2009)
Author: JC Cruz
Article Description: No description available.
Article Length (in bytes): 26,788
Starting Page Number: 33
RBD Number: 7211
Resource File(s): None
Related Web Link(s):
Known Limitations: None
Excerpt of article text...
Welcome to the first in the series of XML articles. This series will show you how to work with XML data using REALbasic. Now in this article, you will learn the parts of an XML document. Then you will learn what makes up a valid document. Next, you will look at a handful of XML classes in REALbasic. You will then use these classes to create, query, and save a simple XML document.
The XML Anatomy
XML, or Extensible Markup Language, first came into the computing scene in the late 1990s. It is meant as a simple, yet versatile, successor to the SGML format. Like SGML and its specialized cousin HTML, XML stores its data as human-readable text. Like those two, it marks each data using text tags. XML, however, takes the extra step of letting you define your own tags.
This versatility makes XML a popular file and exchange format. OpenOffice, for instance, stores its documents files in XML. The eXist database maintains its records and indices as XML files. Some web browsers like FireFox accepts pages written in XML. The MacOS X system keeps its system settings in XML. And online services such as National Weather Services deliver their content in XML.
...End of Excerpt. Please purchase the magazine to read the full article.
Article copyrighted by REALbasic Developer magazine. All rights reserved.