Research Article

Pipelined XPath Query Based on Cost Optimization

Table 2

Syntax of XPath subset.

Expression nameSyntax

Path expressionPath::= Step(‘/’ Step)
Query stepStep:: = Axis Tag | Axis Tag ‘[’ Pred ‘]’
AxisAxis::= PA | CH | AN | DS | AT | PS | FS | PP | FF
Tag for node testTag::= String |
PredicatePred::= Path | Pred ‘or’ Pred | Pred ‘and’ Pred | ‘not’ ‘(’ Pred ‘)’ | Num