Support for the XPath text() type test.