<< Chapter < Page Chapter >> Page >
This module is part of a collection dedicated to learning XML.

Table of contents

Preface

General

This module is part of a collection dedicated to learning XML.

Viewing tip

I recommend that you open another copy of this document in a separate browser window and use the following links to easily find and view the figures while youare reading about them.

Figures

Supplemental material

I recommend that you also study the other lessons in my extensive collection of online programmingtutorials. You will find a consolidated index at www.DickBaldwin.com .

A brief introduction to XML

The name XML derives from e X tensible M arkup L anguage. According to Wikipedia,

"A markup language is a system for annotating text in a way which is syntactically distinguishable from that text."

In other words, when text has been annotated or marked up, the annotations can be easily distinguished from the original text. For example, if you turn in a termpaper and the professor annotates it with a red pencil, you can easily distinguish her annotations from your original text. However, XML doesn't usecolor to annotate text. Instead, XML uses specially formatted text to annotate text.

Structured documents

XML gives us a way to create and maintain structured documents in plain text that can be rendered in a variety of different ways. For example, before Iupload this document to the Connexions website for publishing, I will convert into CNXML , which is one of the many flavors of XML. Once the document is on the website inthat format, programs on the website have the ability to render it in the form of a web page (which you are probably reading right now) or in the form of a PDF document, which you can download andprint if you choose to do so.

There is a lot of jargon involved in XML. One of my objectives will be to explain the jargon.

What do I mean by a "structured document?"

I will answer this question by providing an example. A book is a structured document. In its simplest form, a book may be composed of chapters. The chaptersmay be composed of sections. The sections may contain illustrations and tables. The tables are composed of rows and columns. Thus, it would be possible to drawa picture that illustrates the structure of a book.

What do I mean by "plain text?"

Characters such as the letters of the alphabet and punctuation marks are represented in the computer by numeric values, similar to a simple substitutioncode that a child might devise. For example in one popular encoding scheme (ASCII), the upper-case version of the character "A" is represented by the value65, a "B" is represented by the value 66, a "C" is represented by 67, etc.

Different encoding schemes

The actual correspondence between the characters and the specific numeric values representing the characters has been described by several differentencoding schemes over the years. One of the most common and enduring schemes is a scheme that was devised a number of years ago by an organization known as theAmerican Standards Committee on Information Interchange. This encoding scheme is commonly known as the ASCII code.

Questions & Answers

what is biology
Hajah Reply
the study of living organisms and their interactions with one another and their environments
AI-Robot
what is biology
Victoria Reply
HOW CAN MAN ORGAN FUNCTION
Alfred Reply
the diagram of the digestive system
Assiatu Reply
allimentary cannel
Ogenrwot
How does twins formed
William Reply
They formed in two ways first when one sperm and one egg are splited by mitosis or two sperm and two eggs join together
Oluwatobi
what is genetics
Josephine Reply
Genetics is the study of heredity
Misack
how does twins formed?
Misack
What is manual
Hassan Reply
discuss biological phenomenon and provide pieces of evidence to show that it was responsible for the formation of eukaryotic organelles
Joseph Reply
what is biology
Yousuf Reply
the study of living organisms and their interactions with one another and their environment.
Wine
discuss the biological phenomenon and provide pieces of evidence to show that it was responsible for the formation of eukaryotic organelles in an essay form
Joseph Reply
what is the blood cells
Shaker Reply
list any five characteristics of the blood cells
Shaker
lack electricity and its more savely than electronic microscope because its naturally by using of light
Abdullahi Reply
advantage of electronic microscope is easily and clearly while disadvantage is dangerous because its electronic. advantage of light microscope is savely and naturally by sun while disadvantage is not easily,means its not sharp and not clear
Abdullahi
cell theory state that every organisms composed of one or more cell,cell is the basic unit of life
Abdullahi
is like gone fail us
DENG
cells is the basic structure and functions of all living things
Ramadan
What is classification
ISCONT Reply
is organisms that are similar into groups called tara
Yamosa
in what situation (s) would be the use of a scanning electron microscope be ideal and why?
Kenna Reply
A scanning electron microscope (SEM) is ideal for situations requiring high-resolution imaging of surfaces. It is commonly used in materials science, biology, and geology to examine the topography and composition of samples at a nanoscale level. SEM is particularly useful for studying fine details,
Hilary
cell is the building block of life.
Condoleezza Reply
Got questions? Join the online conversation and get instant answers!
Jobilize.com Reply

Get Jobilize Job Search Mobile App in your pocket Now!

Get it on Google Play Download on the App Store Now




Source:  OpenStax, Introduction to xml. OpenStax CNX. Dec 02, 2014 Download for free at https://legacy.cnx.org/content/col11207/1.18
Google Play and the Google Play logo are trademarks of Google Inc.

Notification Switch

Would you like to follow the 'Introduction to xml' conversation and receive update notifications?

Ask