With the continuous development of e-commerce, the security problems of e-commerce has become increasingly prominent. Using XML to transmit information in the application of advantage, through the XML has formulated in security agreement on the basis of relevant information encryption technology, puts forward a xml-based e-commerce solutions to transmit information safe mode of e-commerce, the transmission of information security problems.