The possible values of the returnType prop in the FxXPath component.
These values are exposed on the FxXPath component
NY_ TY PE
Returns the result of the query, can be anything depending on the query
OO LE AN_ TY PE
Resolves to true or false, uses the effective boolean value to determine the result.
count(1) resolves to true,
count(()) resolves to false
IR ST_ NO DE_ TY PE
Resolves to the first node XPATH_RETURN_TYPES.NODES_TYPE would have resolved to.
OD ES_ TY PE
Resolve to all nodes the FxXPath resolves to. Returns nodes in the order the FxXPath would. Meaning
(//a, //b) resolves to all A nodes, followed by all B nodes.
self::b] resolves to A and B nodes in document order.
UM BE R_ TY PE
Resolve to a number, like
count((1,2,3)) resolves to 3.
UM BE RS_ TY PE
Resolve to an array of numbers
TR IN G_ TY PE
Resolve to a string, like
//someElement resolves to the text content of the first someElement
TR IN GS_ TY PE
Resolve to an array of strings