Returns the objects resulting from executing an XQuery query upon the receiver.
- macOS 10.4+
A string that expresses an XQuery query.
A dictionary containing externally declared constants where the name of each constant variable is a key.
If query errors occur, indirectly returns an
NSErrorobject describing the errors.
The receiver acts as the context item for the query (“.”). If the receiver has been changed after parsing to have multiple adjacent text nodes, you should invoke the
normalize (with an argument of
NO) to coalesce the text nodes before querying.