XML technologies / XML / XML in a Nutshell / XML as a document format

(Excerpt from "XML in a Nutshell" by Elliotte Rusty Harold & W. Scott Means)

XML is above all a document format. It was always intended for web pages, books, scientific articles, poems, short stories, reference manuals, guides, textbooks, legal briefs, contracts, instructions and other documents read by people. Its use as a syntax for computer data in order processing, object serialization, databases and electronic data interchange is really a fortunate accident.

Most programmers are more accustomed to the strict structures of record-oriented applications than to the freer setting of an article or story. Most authors, conversely, are more familiar with the flexible form of books, stories and articles. XML may be unique in serving both groups equally well. The following pages explain and illustrate the structures found in narrative documents intended for people rather than computers.

Later sections examine web pages in particular, then technologies such as XLinks and stylesheets primarily intended for human-readable documents. After covering these technologies, we will examine XML as a format for relatively short-lived, machine-readable data, in contrast to longer-lived documents intended for people.

  

  

 

 

 

back to top