Hi, The statement that you generate the document as a byte array is not sufficient, it essentially means that you have some binary data. If you want to create Base64 encoded data from it, you can use the Base64 data format, but for XML you will probably need some information about the content and format of your binary data. XSLT usually cannot process arbitrary binary data unless it happens to be a binary representation of an XML document.
In order to build a working scenario you might also want to know the communication protocol between the document generation system and the Camel pipeline (maybe the document generation system puts a file somewhere in the filesystem, or it creates an HTTP request (and expects an appropriate response). You will also need to know the expected response format. Best regards Stephan -----Original Message----- From: ravi21588 [mailto:ravi21...@gmail.com] Sent: Montag, 5. Dezember 2016 16:17 To: users@camel.apache.org Subject: XSLT transformation Base64binary and camel xslt Hi All, We have an integration to generate the document from document generation system. The Document generation system returns document as bytes of array. While creating response i need to create an xml along with attachment type as an element with type base64binary. Can you please tell me how can i acheive it. -- View this message in context: http://camel.465427.n5.nabble.com/XSLT-transformation-Base64binary-and-camel-xslt-tp5791061.html Sent from the Camel - Users mailing list archive at Nabble.com.