Hi, Have you already specified the output method of your xsl file to be "xml"?
<xsl:output method="xml" indent="yes" encoding="YOUR_ENCODING" omit-xml-declaration="no" /> Actually the default value of the omit-xml-declaration attribute is already "no" but try this if it could help. And what version of Camel do you use? Babak -- View this message in context: http://camel.465427.n5.nabble.com/Splitting-on-XML-Documents-tp5431032p5431454.html Sent from the Camel - Users mailing list archive at Nabble.com.