Hi, then you should try to find out how the DOMSource is transformed to String. I guess it is transfomed first to a Stream and then to String. In this case you need the correct encoding.
Regards Franz On Thu, Jul 24, 2014 at 2:02 PM, vdhawan <vaibhav.10.dha...@gmail.com> wrote: > Thanks for response Franz. > > Bean returns an object of javax.xml.transform.Source. > > Source s = new DOMSource(myObj) > exchange.getOut().setBody(s); > > Thanks > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/XSLT-transformation-produces-junk-charachters-tp5754357p5754366.html > Sent from the Camel - Users mailing list archive at Nabble.com.