A system and method for providing namespace related information. A
namespace library operating in a computer provides a central source of
namespace related information for handling XML documents. The namespace
related information may be used by other computer application programs
operating in the computer. The namespace related information provided by
the namespace library is indexed by namespace. Many types of namespace
related information may be associated with each namespace. The computer
application programs may obtain namespace related information by querying
the namespace library using a particular namespace.