(Merge with Template:XPathResultConstants?
These are supported values for the resultType parameter of the evaluate method:
| Result Type | Description | |
ANY_TYPE | 
   0 | Whatever type naturally results from the given expression. | 
NUMBER_TYPE | 
   1 | A result set containing a single type naturally results number. Useful, for example, in an XPath expression using the count() function. | 
  
STRING_TYPE | 
   2 | A result set containing a single string. | 
BOOLEAN_TYPE | 
   3 | A result set containing a single boolean value. Useful, for example, an an XPath expression using the not() function. | 
  
| Result Type | Description | |
ANY_TYPE | 
   0 | Whatever type naturally results from the given expression. | 
NUMBER_TYPE | 
   1 | A result set containing a single number. Useful, for example, in an XPath expression using the count() function. | 
  
STRING_TYPE | 
   2 | A result set containing a single string. | 
BOOLEAN_TYPE | 
   3 | A result set containing a single boolean value. Useful, for example, an an XPath expression using the not() function. | 
  
| Result Type | Description | |
ANY_TYPE | 
   0 | Whatever type naturally results from the given expression. | 
NUMBER_TYPE | 
   1 | A result set containing a single number. Useful, for example, in an XPath expression using the count() function. | 
  
STRING_TYPE | 
   2 | A result set containing a single string. | 
BOOLEAN_TYPE | 
   3 | A result set containing a single boolean value. Useful, for example, an an XPath expression using the not() function. | 
  
| Result Type | Description | |
ANY_TYPE | 
   0 | Whatever type naturally results from the given expression. | 
NUMBER_TYPE | 
   1 | A result set containing a single number. Useful, for example, in an XPath expression using the count() function. | 
  
STRING_TYPE | 
   2 | A result set containing a single string. | 
BOOLEAN_TYPE | 
   3 | A result set containing a single boolean value. Useful, for example, an an XPath expression using the not() function. | 
  
| Result Type | Description | |
ANY_TYPE | 
   0 | Whatever type naturally results from the given expression. | 
NUMBER_TYPE | 
   1 | A result set containing a single number. Useful, for example, in an XPath expression using the count() function. | 
  
STRING_TYPE | 
   2 | A result set containing a single string. | 
BOOLEAN_TYPE | 
   3 | A result set containing a single boolean value. Useful, for example, an an XPath expression using the not() function. |