Hi,

Is it possible to set the value of a header via the result of an xslt
transform eg)

.setHeader(INITIAL_DATA_HEADER, XsltBuilder.xslt(
                        new File("myXslt.xslt")))

Currently this doesn't not compile as setHeader expects String, String. I
tried using toString but that just gives me back
xslt[net.sf.saxon.preparedstylesh...@775121 as per objects implementation.

I also tried outputString() but that doesn't actually return a String. 

There doesn't appear to be anything like convertBodyTo(String.class) but
surely this must be possible?

Thanks
Jonathan
-- 
View this message in context: 
http://www.nabble.com/setHeader-via-xslt-tp24788622p24788622.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to