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

Workshop  |  XML (Extensible Markup Language)

XML Tutorial
Lesson 3: Authoring XML Data Islands


September 4, 1998

What is an XML data island?

A data island is XML code that exists within an HTML page. A data island allows you to integrate XML into your HTML page and script against that XML without having to load the XML through script or through the <OBJECT> tag. Anything that can be in a well-formed XML document can be inside a data island. This includes processing instructions, DOCTYPE declarations, and internal subsets.

The XML for a data island can be either inline, for example:

<XML ID="XMLID">
  <customer>
    <name>Herbert Hanley</name>
    <custID>81422</custID>
  </customer>
</XML>

or referenced through an SRC attribute on the XML tag, for example:

<XML ID="XMLID" SRC="customer.xml"></XML>

Authoring guidelines

Simply author XML. Place that XML within an XML element, and give that XML element an ID.

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