Managing XML data, XML catalogs
Indirect stylesheets, DTDs, and schemas
From the developerWorks archives
Date archived: December 6, 2016 | First published: May 13, 2005
An old programmer's adage states that any problem can be solved with an additional layer of indirection -- an adage that is as true in XML as in any other field. Many problems that arise when loading schemas, DTDs, and stylesheets can be elegantly solved by introducing XML catalogs as an indirection between the parser and the network loader. An XML catalog allows the document consumer to substitute one set of URLs for the actual URLs or public identifiers specified in the XML documents themselves. Doing so improves both the speed and the security of XML processing.
This content is no longer being updated or maintained. The full article is provided "as is" in a PDF file. Given the rapid evolution of technology, some steps and illustrations may have changed.