When to use XML Catalogs
To validate an XML Document against a schema (DTD, Relax NG Schema, Schematron Schema, or XML Schema), you need to associate your XML Document with the schema, for example:
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE topic SYSTEM "http://docs.oasis-open.org/dita/v1.0.1/dtd/topic.dtd">
<topic>
</topic>
This tells XMLBlueprint to validate the XML Document against DTD "http://docs.oasis-open.org/dita/v1.0.1/dtd/topic.dtd". Validation of this document will be slow or even impossible depending on the quality of your Internet access. You could download the schema to your PC and change the schema reference to "file:///C:/MyDTDs/docs.oasis-open.org/dita/v1.0.1/dtd/topic.dtd", but XML Catalogs offer a much better solution.
Using XML Catalogs, you can
 |
| • | Map a public identifier to a URL. For example, map "-//OASIS//DTD DITA Topic//EN" to "file:///C:/MyDTDs/docs.oasis-open.org/dita/v1.0.1/dtd/topic.dtd". |
| • | Remap a URL to another one. For example, map "http://docs.oasis-open.org/dita/v1.0.1/dtd/topic.dtd" to "file:///C:/MyDTDs/docs.oasis-open.org/dita/v1.0.1/dtd/topic.dtd". |
XMLBlueprint supports OASIS XML Catalogs version 1.0 and 1.1. For more information on XML Catalogs, please visit:
copyright © 2002 - 2010 by XMLBlueprint
XML Editor. all rights reserved.