Firstly, mapping from database data to XML data. This kind of mapping is converting the data getting from database into XML data and storing them in XML documents. Combining XSL, XML can display data information in Web page. XML document have different function with XSL, XML is used to describe the content of data, but XSL is used to describe how to display the data. When data content need be modified, the data modified can be located based on the tag, then data is modified. When user needs to change displaying style, he just need modify XSL. Generally, the mapping rules from relation database data to XML document is: table->element and column->attribute. In XML, element and attribute are distinguished by tag. Element tag and attribute tag is self-definition and their description is stored in XML Schema/DTD (Document Type Definition) [16]. Element tag and attribute tag appear matching based on and in XML document, and attribute tag nesting in element tag,indicating the field information obtaining from relation table.