Web Developer's Virtual Library: Encyclopedia of Web Design Tutorials, Articles and Discussions


WDVL Newsletter

Active Server Pages
JSP/Java Servlets
Microsoft SQL Server
Daily Backup
Dedicated Servers
Streaming Audio/Video
24-hour Support    

jobs.webdeveloper.com

Hiermenus


e-commerce
Partner With Us















Developer Channel
FlashKit.com
JavaScript.com
JavaScriptSource
Developer Jobs
ScriptSearch
StreamingMediaWorld
Web Developer's Journal
Web Developer's Virtual Library
WebDeveloper.com
Webreference
Web Hosts
XMLfiles.com

internet.com
IT
Developer
Internet News
Small Business
Personal Technology

Search internet.com
Advertise
Corporate Info
Newsletters
Tech Jobs
E-mail Offers


Data Versus Markup

March 29, 1999

All XML documents may be understood in terms of the data they contain and the markup that describes that data. Data is typically "character data" (letters, numbers, punctuation... anything within the boundaries of valid Unicode) but can also be binary data. Markup includes tags, comments, processing instructions, DTDs, references, etc....

The most simple example of character data and markup would be something like the following:

<NAME>Selena Sol</NAME>

In this case, the <NAME> and </NAME> tags comprise the markup and the "Selena Sol" comprises the character data. As you can imagine there are few rules that manage your data (content) other than what type of data is allowed (binary or ASCII for example). On the other hand, there are many rules that define how you must code your markup.

In the rest of this section, we will outline what requirements you must satisfy in order to write well-formed XML.

XML Document Structure
Introduction to XML For Web Developers | Table of Contents
The XML Declaration


Up to => Home / Authoring / Languages / XML / Tutorials / Intro




Jupiter Online Media: internet.comearthweb.comDevx.commediabistro.comGraphics.com

Search:

Jupitermedia Corporation has two divisions: Jupiterimages and Jupiter Online Media

Jupitermedia Corporate Info


Legal Notices, Licensing, & Permissions, Privacy Policy.

Web Hosting | Newsletters | Tech Jobs | Shopping | E-mail Offers