Re: Dynamic xsl with custom uri resolver

2013-08-07 Thread ericsodt
>From what I am seeing, you can specify the custom resolver within the header {code} .setHeader("CamelXsltResourceUri",simple("xslt:http://localhost:8080///?*uriResolver=#myResolver*") {/code} and it gets exercises at run time. When I place break points within my resolver and execute this rout

Re: Dynamic xsl with custom uri resolver

2013-08-06 Thread Claus Ibsen
The CamelXsltResourceUri header is *only* for the location of the xls file. Any other options like a custom resolver must be set on the endpoint / component level. On Tue, Aug 6, 2013 at 8:39 PM, ericsodt wrote: > Claus, > > The question I am asking is not one that can be resolved by the FAQ you

Re: Dynamic xsl with custom uri resolver

2013-08-06 Thread ericsodt
Claus, The question I am asking is not one that can be resolved by the FAQ you pointed to. I notice this question gets posted a lot and no one seems to be fully answering it. Here's my go at it: The Camel xslt docs mention "Dynamic Stylesheets" by saying the following: /*Available as of Camel 2

Re: Dynamic xsl with custom uri resolver

2013-08-04 Thread Claus Ibsen
Hi See this FAQ http://camel.apache.org/how-do-i-use-dynamic-uri-in-to.html On Fri, Aug 2, 2013 at 2:15 PM, ericsodt wrote: > mox, > > There is no CSS nor HTML involved. > > The call to '.to("xslt:transformSubject.xsl?uriResolver=#emailResolver") ' > does an xslt transformation. I'm trying to f

Re: Dynamic xsl with custom uri resolver

2013-08-02 Thread ericsodt
mox, There is no CSS nor HTML involved. The call to '.to("xslt:transformSubject.xsl?uriResolver=#emailResolver") ' does an xslt transformation. I'm trying to figure out how to make 'transformSubject.xsl' dynamic while still being able to use my custom URIResolver. Thanks! -- View this mes

Re: Dynamic xsl with custom uri resolver

2013-08-02 Thread Mike Oxford
The CSS which is loaded is defined in your HTML. If you're going to use a parameter to fetch the HTML, you're going to have to dynamically rewrite that HTML to point to the correct CSS. Whether you use a handler to rewrite where to get the CSS file, or whether it shoves all the CSS into the HTML

Re: Dynamic xsl with custom uri resolver

2013-08-01 Thread ericsodt
Anyone have any ideas? -- View this message in context: http://camel.465427.n5.nabble.com/Dynamic-xsl-with-custom-uri-resolver-tp5736668p5736670.html Sent from the Camel - Users mailing list archive at Nabble.com.