int ctxtNode = xctxt.getCurrentNode();
Node node = xctxt.getDTM(ctxtNode).getNode(ctxtNode);
NodeListImpl list = new NodeListImpl(null);
list.add(node);
Searcher searcher = new Searcher(list, analyzer);
NodeSet nodes = searcher.search(query);
return nodes.hasMoreNodes() ? XBoolean.S_TRUE : XBoolean.S_FALSE;
} catch (ParseException e) {
throw new TransformerException("Error in text query", e);
}