O'Reilly logo

Context-Aware Computing by De Gruyter

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Example 23. A predicate situated in the intermediate of an XPath expression like “/payInfo[amount>100]/creditCard” leads to two XPath expressions being generated after Step 2, which are “/ payInfo/amount” and “/payInfo/creditCard”. That is, “/ pay-Info[amount>100]/creditCard”⇒2 “/payInfo/amount” ∧ “/payInfo/creditCard”.

Let e'' denote an XPath expression returned after Step 2.

Step 3. Eliminate logical | and and operators in each XPath expression e'' by rewriting the expression into several ones logically connected with ∧ or ∨.

To match the notion of path in Definition 19, every XPath expression after Step 2 which contains the logical operators ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required