The invention belongs to intelligence-related
extensible markup language (
XML)
data query technology in the technical field of information, in particular to a set of
XML query
system with intelligent prompt function on the basis of providing a novel
XML graphical query method. In the
system, the intelligent prompt function is provided to guide a user to establish query aiming at a
label name and a node value on an interface for graphically establishing query. Therefore, the user can perform XML search under the conditions that the user does not know XML
modes, contents and structures and even cannot write
XQuery and other query languages. A sorting mechanism for comprehensively considering query results is defined in the
system, and each result is scored and displayed to the user in a tree form, namely, 1, an interface supporting a graphical dragging mode to establish XML query sentences is developed; 2, an intelligent prompt
algorithm is designed; 3, a mechanism for sorting the query results according to the structure and content information is designed; and 4, an interface for scoring the results and displaying the results in the tree form is developed.