Special

Special Print Closeout!

We're clearing out the remainder of our print issues at fire sale prices -- as much as 75% off! Quantities are extremely limited and only available while supplies last. Hurry to take advantage of this one-time offer.

RBD Magazines

Once these printed back issues are gone, they are gone!

Article Preview


Buy Now

PDF:

Feature

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):

http://www.w3.org/2001/XMLSchema.dtd
http://www.iana.org/assignments/character-sets
http://www.w3.org/TR/2006/REC-xml11-20060816
http://en.wikipedia.org/wiki/Xml

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.


 


|

 


Weblog Commenting and Trackback by HaloScan.com