Summary

When you're performing database queries, the criteria are often constructed based on tests for equality and relative size. In this hour, the complete set of equality and inequality operators was presented.

The any and all operators differ from the others in that they either return all of the set or none of it. When all nodes have a property, the all operator returns the set. When any node has the property, the any operator returns the set.

To access the value of either an attribute or a node, you can use the value() method. Once extracted, the value can be used as a data point in the construction of queries. Two additional, somewhat specialized methods are the selectSingleNode() and end() methods. Both return a single node. In the case ...

Get Sams Teach Yourself XML in 24 Hours now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.