O'Reilly logo

ASP.NET Developer's JumpStart by Ken Getz, Paul D. Sheriff

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

XML Schema

If you're like most other beginning XML developers, you might have asked yourself “How can anyone communicate using XML? Since every set of XML data uses different tags, how can anyone know what's supposed to be in the data?” You won't have been alone in asking yourself these questions.

The answer is that without more information, XML is just data, and there's no way to determine whether it's the correct data. Sure, you can tell whether the XML is well-formed (you saw how you can verify that in the previous section). But you need more information to determine that the contents of the data are valid.

The XML Schema specification provides XML elements that describe the contents of other XML data. XML Schema is a rich specification, allowing ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required