HandlerStack stack=new HandlerStack( parser.getXMLReader());
QueryRequest request=new QueryRequest();
DefaultHandler top=new QueryRequest.Element( request).readFromXML( stack);
stack.pushHandlerStack( top);
parser.parse( new InputSource( new StringReader( s)), top);
QueryResponse response=bbq.getXMLIntf().PerformQuery(request);
StringWriter out=new StringWriter();
ElementTransformReader.writeElement( new QueryResponse.Element( response), out);
String output=out.toString();
logger.finer(output);
messenger.writeString( output);