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 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access