XPath evaluation and information processing
First Claim
1. An extensible-markup-language Path Language (XPath) evaluating method for evaluating the XPath relevant to an extensible-markup-language (XML) document by use of a computer, the XPath evaluating method comprising:
- a first step of serially inputting XML event strings constituting an XML document to be processed;
a second step of serially evaluating the XPath respectively relevant to the inputted XML events and retaining information concerning a result of partial evaluation of the XPath in given storing means when the XPath is partially established woth respect to a given XML event; and
a third step of repeating the partial evaluation of the XPath along with the input of the XML event strings while considering the result of the partial evaluation retained in the storing means and evaluating that the XPath is established with respect to the XML document when the last part of the XPath is established.
1 Assignment
0 Petitions
Accused Products
Abstract
An XML parser for inputting XML event strings which constitute an XML document to be processed, and an XPath evaluating unit for executing evaluation of the XPath by streaming processing are provided. This XPath evaluating unit serially evaluates the XPath with respect to the respective XML events transferred from the XML parser, and retains information concerning a result of partial evaluation of this XPath when the XPath is partially established for a given XML event. Then, when the last step of this XPath is established, the XPath is judged as established for the XML document.
-
Citations
20 Claims
-
1. An extensible-markup-language Path Language (XPath) evaluating method for evaluating the XPath relevant to an extensible-markup-language (XML) document by use of a computer, the XPath evaluating method comprising:
-
a first step of serially inputting XML event strings constituting an XML document to be processed;
a second step of serially evaluating the XPath respectively relevant to the inputted XML events and retaining information concerning a result of partial evaluation of the XPath in given storing means when the XPath is partially established woth respect to a given XML event; and
a third step of repeating the partial evaluation of the XPath along with the input of the XML event strings while considering the result of the partial evaluation retained in the storing means and evaluating that the XPath is established with respect to the XML document when the last part of the XPath is established. - View Dependent Claims (2, 3, 4, 14, 15, 16, 17)
-
-
5. An XPath evaluating apparatus comprising:
-
an evaluation executing unit for inputting XML event strings constituting an XML document and serially evaluating the XPath with respect to each of XML events, while retaining information concerning a result of partial evaluation of the XPath when the XPath is partially established with respect to a given XML event, and evaluating that the XPath is established with respect to the XML document when the last step of the XPath is established; and
an XML event transferring unit for inputting the XML event strings constituting the XML document to be processed and serially transferring the XML event strings to the evaluation executing unit. - View Dependent Claims (6, 7, 18)
-
-
8. An XPath evaluating apparatus comprising:
-
a document tree constructing unit for inputting XML event strings which constitute an XML document and serially constructing a document tree indicating a document structure of the XML document based on inputted XML events along with the input of the respective XML events;
an XML event transferring unit for inputting the XML event strings which constitute the XML document to be processed and serially transferring the XML event strings to the document tree constructing unit; and
an evaluation executing unit for evaluating the XPath along with construction of the document tree by the document tree constructing unit, using the document tree with a part which has been constructed. - View Dependent Claims (9, 19)
-
-
10. An information processing apparatus comprising:
-
an XML parser for analyzing an XML document to be processed and thereby generating XML event strings;
an XPath evaluating unit for serially inputting the XML event strings generated by the XML parser and evaluating the XPath with respect to each of inputted XML events by streaming processing; and
an application executing unit for inputting the XML events generated by the XML parser and performing processing with respect to the XML document configured by the XML events in response to an evaluation result of the XPath by the XPath evaluating unit, wherein the XPath evaluating unit serially evaluates the XPath with respect to each of the XML events, retains information concerning a result of partial evaluation of the XPath when the XPath is partially established with respect to a given XML event, and judges that the XPath is established with respect to the XML document when the last step of the XPath is established. - View Dependent Claims (11, 12, 13, 20)
-
Specification