Validating Documents Against Schemas

Although XML Schema introduces a technically superior approach to describing XML document classes, it wouldn't be of much use without an XML processor that supports the validation of documents using schemas. The XML processor contained within Internet Explorer 5.0 fully supports Microsoft's XML Schema implementation, and it can be used to validate documents against schemas. However, you must first associate a schema with a document using a namespace declaration that identifies the schema.

If you'll recall from the previous chapter, Internet Explorer 5.0 allows you to reference a schema directly from a namespace declaration. When the XML processor in Internet Explorer encounters this declaration, it will automatically ...

Get XML Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.