XML Basics (part 2) (
Page 1 of 9 )
Now that you know the basics, this article explains how to use XML's more advanced
constructs to author complex XML documents. Entities, namespaces, CDATA blocks,
processing instructions - they're all in here, together with aliens, idiots, secret
agents and buried treasure.In the first part of this article, I examined the need and rationale for XML,
together with a brief look at the rapidly-increasing number of XML-related technologies.
I discussed the basic structure and components of an XML document, played with
the document prolog, and spent some time explaining how elements and attributes
work. I also explained the difference between well-formed and valid XML, and demonstrated
how the document prolog can be used to link an XML document to a DTD.
In this concluding article, I'll be examining some of the other things that go
into an XML document, including CDATA, processing instructions, namespaces and
entity references. Don't even think about going anywhere!
This article copyright Melonfire 2001. All rights reserved.