If P is an XPath expression and S is an XML schema, P may be defined for S if and only if each element and attribute name occurring in P is declared in S and has the same type (element or attribute) in S. If P and Q are two XPath expressions, P may be referred to as matching Q for S if and only if each node in any input document D based on S that satisfies P also satisfies Q. A ???simple??? expres