This paper proposes an applicable DTD database structure based on the brief version of CMARC version 4. DTD is further developed to an XML-based cataloguing module. This paper explores the potentiality of implementing XML in library automatic systems and its capability of organizing information.