In order to meet the requirement better of heterogeneous information integration, this paper proposes a XML information integration model based on ontology technology. This model comes to share and reuse of structured knowledge, explicitness of domain knowledge. According to mapping method from ontology to XML schema, the model also comes to document query based on global semantic, solves the semantic heterogeneity of XML information integration. This paper gives a mapping algorithm to implement the validated verify of XML semantic information for automatic indexing information. Finally, this paper explained simply the query algorithm so that the users can conveniently the query of heterogeneous XML information.