Since knowledge management becomes an important issue, knowledge management system (KMS) plays a crucial role to enhance the performance of knowledge management. It is a difficult work to build a KMS from scratch. In order to facilitate KMS reusability, we propose a scheme based on XML binding technology which can automatically generate the knowledge management components so that one may reengineer the system to accommodate with different requirements of other domains.