[Home] [By Thread] [By Date] [Recent Entries]

  • From: Tim Bray <tbray@t...>
  • To: xml-dev@l...
  • Date: Sat, 29 Sep 2001 09:31:05 -0700

At 01:14 AM 29/09/01 -0500, Imran Rashid wrote:
>        I'm supposed to be giving a brief "intro to XML" talk to a technical audience that doesn't know anything about XML.  I was hoping I could look at some of the presentations the more experienced members of this list have given.  I know there have been links posted previously, but a quick search of the archive didn't turn up much.

What I find works well is to show four slides.  The first is
a sample of HTML, with all the usual HTML problems, unclosed
tags, the <IMG> element with no end-tag, unquoted attribute
values, no enclosing tag pair for the whole doc.

The second slide makes it into well-formed XML, logically
equivalent but different-looking and obviously much easier
for a programmer to handle.

The third has a teeny little internal-subset DTD that makes
the thing valid - if you keep yourself to <html>, <p>, <a>, and
<img> it's not too hard.

The fourth has a pointer to an external DTD, presumably 
xhtml.dtd or some such, there's no need to go into the DTD.

That kind of gets the basics about well-formedness and
validity across.  Where you go from there depends on the
audience. -Tim


Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member