Last Modified: 1/29/08
  Computer Training
Introduction to XML

XML Example

The following is a simple XML file listing two upcoming events, Three Sisters, a drama by Anton Chekhov, and As You Like It, a comedy by William Shakespeare.

An XML Example: events.xml
<?xml version='1.0'?>

<events>
  <play Ptype = "drama">
    <title>Three Sisters </title>
    <author>
      <First_Name>Anton</First_Name>
      <Last_Name>Chekhov</Last_Name>
    </author>
  </play>
  <play Ptype = "comedy">
    <title>As You Like It</title>
    <author>
      <First_Name>William</First_Name>
      <Last_Name>Shakespeare</Last_Name>
    </author>
  </play>
</events>


How It Appears In An XML-Capable Browser (MS IE5)

Simple XML File



Files

Previous Home Next

Topics

Summary

HTML Is Not Enough

What Is XML?
  Ontologies
  SGML, HTML, & XML

XML Basics
  HTML Example
  XML File
  Structure
  Paths
  Well-Formed
  DTDs
  Schemas
  Validation
  Unicode
  What It Means

Transforming For
Presentation

  DHTML
  CSS
  XSL

Serving And Processing XML
  Server Side
  Client Side

XML Applications   Information Reuse
  B2B
  Text Encoding
  Syndication

Security

XML Resources On The Web

Part Two Of Class

 
Previous Home Next

Other Topics:   XML Editors

©1999 UW Technology