StringWriter writer = new StringWriter();
SerializationContext serContext =
new SerializationContext(writer,
context.getMessageContext());
serContext.setSendDecl(false);
SAXOutputter so = new SAXOutputter(serContext);
context.curElement.publishContents(so);
value = writer.getBuffer().toString();
}
}