Code Editor / Using XML catalog files |
XML Catalog files are used to provide an alternative path when the external entities are not accessible, or are not where the XML document specifies.
Many XML documents contain external links to stylesheets, schemas, DTDs, and so on, which may be stored on remote systems. if the links are absolute URLs, they only work when your network can reach them. However, the entity resolver of the XML SAX parser can be used to determine whether there is a local equivalent in your system's Catalog application level cache.
When you use an XML Catalog file to map these external references to local equivalents, the task of locating the reference is shifted from the XML documents to the XML Catalog files, which can be varied for different audiences. Since local copies of the references are accessed instead of remote network resources, and the local copy can be a subset of the complete schema or DTD in the external reference, XML processing may be faster.
The XML catalog files to be used by Genero Studio are specified through the General Preferences.