An Improved Query Method for XML Document Based on Text Node

With the continuous promotion and application of the XML-related standards and technology,a large number of XML data appears on the network,and XML has become the standards of representation and exchange for network data.Precise and rapid query for the mass XML documents has become a main direction of the current research on XML.Because of semi-structured features of XML documents,it needs to create corresponding index and develop special query method to query data in XML documents.An index for XML documents based on text node was improved,and the data type of the text node was added to the original index.At the same time,a new query method was proposed,which combining with the index identified data type,this new method can support not only string matching query in the original query,but also arithmetic query and comparative query.As a result of the combination query of relational database and the raw XML documents,the new query method adds less external memory,but reduces the occupation of memory space and CPU time remarkably.Compared with the original method,the query efficiency is significantly improved.