Chapter 7. Understanding XML

In this hour, you will learn about the need for XML. In the beginning, you will learn a little about the rules of grammar that govern XML. You will learn how XML namespaces can guarantee that there won’t be any duplicate tag names in your document. Next, we will show you how you can be sure that the documents you receive are correct. In this hour, you will learn

  • Why XML is needed

  • The rules for creating an XML document

  • Avoiding naming conflicts

  • How to validate that the document is correct

Understanding Why We Need XML

Most knowledge workers like technology only when it solves a problem that is vexing them. Before launching into a discussion of the details, we should first pause and ask ourselves why we need XML anyway.

The ...

Get Sams Teach Yourself Web Services in 24 Hours now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.