XML has become the standard form of data exchange, more and more data in this form for storage, implying a lot of knowledge in these data information, the need for data mining processing. For XML data mining method at present, most of the need is to pass the XML data into relational data pretreatment process, using the traditional method for processing, data mining process is complex and the effect is not ideal. Therefore, there is an urgent need some effective methods for XML data mining directly.