Re: XSLT transformation Base64binary and camel xslt

2016-12-07 Thread Gregoire Autric
Hi Ravi, I suggest : * to wrap you document generator lib with base64 dataformat stuff : http://camel.apache.org/base64.html * copy you base64 content to an header * and use it a parameter for xslt template http://camel.apache.org/xslt.html#XSLT-GettingParametersintotheXSLTtoworkwith I hope it

RE: XSLT transformation Base64binary and camel xslt

2016-12-06 Thread ravi21588
Hi, The document generation system is not directly exposed for consuming in internet. We have custom library classes which we invoke and it return the document as byte[]. once i get the response as byte array,i need to create an xml with just a root element pdf-data. I am assuming that if i def

RE: XSLT transformation Base64binary and camel xslt

2016-12-06 Thread Siano, Stephan
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 a