Microsoft HomeproductssearchsupportshopWrite Us   Microsoft Home
Magazine
 |  Community
 |  Workshop
 |  Tools & Samples
 |  Training
 |  Site Info

Workshop  |  XML (Extensible Markup Language)

XML Tutorial
Lesson 1: Authoring XML Elements


September 4, 1998

What is an XML element?

XML is a markup language. An XML element is made up of a start tag, an end tag, and data in between. The start and end tags describe the data within the tags. The data within the tags is considered the value of the element. For example, the XML element below is a "director" element with the value of "Ed Wood":

<director>Ed Wood</director>

The element name ("director") allows you to mark up the value "Ed Wood" semantically, so you can differentiate that particular bit of data from another, similar bit of data. For example, there may be another element with the value of "Ed Wood":

<actor>Ed Wood</actor>

Because each element has a different tag name, we can easily tell that one element refers to Ed Wood the director of Jail Bait, while the other refers to Ed Wood the lead actor in Glen or Glenda. If we could not mark up the data semantically, having two elements with the same value might cause some confusion.

Try it!

Sorry! The interactive exercises require Internet Explorer 5 Beta Non-SBN link.


Did you find this article useful? Gripes? Compliments? Suggestions for other articles? Write us!

Back to topBack to top

© 1998 Microsoft Corporation. All rights reserved. Terms of use.

 

Magazine Home
Ask Jane
DHTML Dude
Extreme XML
For Starters
More or Hess
Servin' It Up
Site Lights
Web Men Talking
Member Community Home
Benefits: Freebies & Discounts
Benefits: Promote Your Site
Benefits: Connect with Your Peers
Benefits at a Glance
Online Special-Interest Groups
Your Membership
SBN Stores
Join Now
Workshop Home
Essentials
Content & Component Delivery
Component Development
Data Access & Databases
Design
DHTML, HTML & CSS
Extensible Markup Language (XML)
Languages & Development Tools
Messaging & Collaboration
Networking, Protocols & Data Formats
Reusing Browser Technology
Security & Cryptography
Server Technologies
Streaming & Interactive Media
Web Content Management
Workshop Index
Tools & Samples Home
Tools
Samples, Headers, Libs
Images
Sounds
Style Sheets
Web Fonts
Training Home
SBN Live Seminars
SBN Live Chats
Courses
Peer Support
CD-ROM Training
Books & Training Kits
Certification
SBN Home
New to SBN?
What's New on SBN
Site Map
Site Search
Glossary
Write Us
About This Site