public TailCall processLeavingTail(XPathContext context) throws XPathException {
// TODO: allow the output of value-of to be streamed to the serializer
SequenceReceiver out = context.getReceiver();
Item item = select.evaluateItem(context);
if (item != null) {
out.characters(item.getStringValueCS(), locationId, options);
}
return null;
}
/**