<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: embed resources like xsl files into routes in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/embed-resources-like-xsl-files-into-routes/m-p/2305536#M77180</link>
    <description>Hi ytuzet, 
&lt;BR /&gt;how about placing your XSL files into your resource folder? 
&lt;BR /&gt;As an example: 
&lt;BR /&gt;(1) Place your XSL sheets into your '${project.base}/src/main/resources/test.xsl' 
&lt;BR /&gt;(2) Implement a camel route that calls this file and place it into your 'META-INF/spring' folder. You may take a look at the example below: 
&lt;BR /&gt; 
&lt;PRE&gt;&amp;lt;camel:route&amp;gt;&lt;BR /&gt;  &amp;lt;camel:from uri="vm:incomming" /&amp;gt;&lt;BR /&gt;  &amp;lt;camel:choice&amp;gt;&lt;BR /&gt;    &amp;lt;camel:when&amp;gt;&lt;BR /&gt;      &amp;lt;camel:simple&amp;gt;${body} contains 'demo success'&amp;lt;/camel:simple&amp;gt;&lt;BR /&gt;      &amp;lt;camel:to uri="bean:demo?method=process" /&amp;gt;&lt;BR /&gt;    &amp;lt;/camel:when&amp;gt;&lt;BR /&gt;    &amp;lt;camel:when&amp;gt;&lt;BR /&gt;      &amp;lt;camel:simple&amp;gt;${body} contains 'demo fault'&amp;lt;/camel:simple&amp;gt;&lt;BR /&gt;      &amp;lt;camel:to uri="xslt:test.xsl"/&amp;gt;&lt;BR /&gt;      &amp;lt;camel:to uri="bean:demo?method=process" /&amp;gt;&lt;BR /&gt;    &amp;lt;/camel:when&amp;gt;&lt;BR /&gt;  &amp;lt;/camel:choice&amp;gt;&lt;BR /&gt;&amp;lt;/camel:route&amp;gt;&lt;/PRE&gt; 
&lt;BR /&gt;(3) Build your project and test it, it should work. 
&lt;BR /&gt;For further information you may als want to read the following article: 
&lt;A href="http://camel.apache.org/xslt.html" rel="nofollow noopener noreferrer"&gt;http://camel.apache.org/xslt.html&lt;/A&gt; 
&lt;BR /&gt;Hope this helps a bit, 
&lt;BR /&gt;Many greets, 
&lt;BR /&gt;Christoph</description>
    <pubDate>Sat, 14 Apr 2012 11:46:21 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2012-04-14T11:46:21Z</dc:date>
    <item>
      <title>embed resources like xsl files into routes</title>
      <link>https://community.qlik.com/t5/Talend-Studio/embed-resources-like-xsl-files-into-routes/m-p/2305535#M77179</link>
      <description>Hello,&lt;BR /&gt;I use an external xsl to manipulate xml data.&lt;BR /&gt;Is there a place in talend where I could put these kind of resources so that they are bundled with the route at the time of deployment?&lt;BR /&gt;It could be useful also for velocity templates...</description>
      <pubDate>Sat, 16 Nov 2024 12:18:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/embed-resources-like-xsl-files-into-routes/m-p/2305535#M77179</guid>
      <dc:creator>ytuzet</dc:creator>
      <dc:date>2024-11-16T12:18:42Z</dc:date>
    </item>
    <item>
      <title>Re: embed resources like xsl files into routes</title>
      <link>https://community.qlik.com/t5/Talend-Studio/embed-resources-like-xsl-files-into-routes/m-p/2305536#M77180</link>
      <description>Hi ytuzet, 
&lt;BR /&gt;how about placing your XSL files into your resource folder? 
&lt;BR /&gt;As an example: 
&lt;BR /&gt;(1) Place your XSL sheets into your '${project.base}/src/main/resources/test.xsl' 
&lt;BR /&gt;(2) Implement a camel route that calls this file and place it into your 'META-INF/spring' folder. You may take a look at the example below: 
&lt;BR /&gt; 
&lt;PRE&gt;&amp;lt;camel:route&amp;gt;&lt;BR /&gt;  &amp;lt;camel:from uri="vm:incomming" /&amp;gt;&lt;BR /&gt;  &amp;lt;camel:choice&amp;gt;&lt;BR /&gt;    &amp;lt;camel:when&amp;gt;&lt;BR /&gt;      &amp;lt;camel:simple&amp;gt;${body} contains 'demo success'&amp;lt;/camel:simple&amp;gt;&lt;BR /&gt;      &amp;lt;camel:to uri="bean:demo?method=process" /&amp;gt;&lt;BR /&gt;    &amp;lt;/camel:when&amp;gt;&lt;BR /&gt;    &amp;lt;camel:when&amp;gt;&lt;BR /&gt;      &amp;lt;camel:simple&amp;gt;${body} contains 'demo fault'&amp;lt;/camel:simple&amp;gt;&lt;BR /&gt;      &amp;lt;camel:to uri="xslt:test.xsl"/&amp;gt;&lt;BR /&gt;      &amp;lt;camel:to uri="bean:demo?method=process" /&amp;gt;&lt;BR /&gt;    &amp;lt;/camel:when&amp;gt;&lt;BR /&gt;  &amp;lt;/camel:choice&amp;gt;&lt;BR /&gt;&amp;lt;/camel:route&amp;gt;&lt;/PRE&gt; 
&lt;BR /&gt;(3) Build your project and test it, it should work. 
&lt;BR /&gt;For further information you may als want to read the following article: 
&lt;A href="http://camel.apache.org/xslt.html" rel="nofollow noopener noreferrer"&gt;http://camel.apache.org/xslt.html&lt;/A&gt; 
&lt;BR /&gt;Hope this helps a bit, 
&lt;BR /&gt;Many greets, 
&lt;BR /&gt;Christoph</description>
      <pubDate>Sat, 14 Apr 2012 11:46:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/embed-resources-like-xsl-files-into-routes/m-p/2305536#M77180</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-04-14T11:46:21Z</dc:date>
    </item>
    <item>
      <title>Re: embed resources like xsl files into routes</title>
      <link>https://community.qlik.com/t5/Talend-Studio/embed-resources-like-xsl-files-into-routes/m-p/2305537#M77181</link>
      <description>Hi cemmersb,&lt;BR /&gt;&lt;BR /&gt;That's the point, I know where to put resources in typical camel project, but in talend there is no access to project folder ...</description>
      <pubDate>Mon, 16 Apr 2012 08:10:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/embed-resources-like-xsl-files-into-routes/m-p/2305537#M77181</guid>
      <dc:creator>ytuzet</dc:creator>
      <dc:date>2012-04-16T08:10:15Z</dc:date>
    </item>
    <item>
      <title>Re: embed resources like xsl files into routes</title>
      <link>https://community.qlik.com/t5/Talend-Studio/embed-resources-like-xsl-files-into-routes/m-p/2305538#M77182</link>
      <description>Hi ytuzet,
&lt;BR /&gt;unfortunately I've never worked too much with the talend Studio. Therefore I'm probably the wrong person to help you with this topic.
&lt;BR /&gt;Maybe there is someone out there who can guide you a bit better through that topic.
&lt;BR /&gt;Anyway, I'm still interested in the solution you find, since there might be some chances to use the Studio in the future.
&lt;BR /&gt;Many greets,
&lt;BR /&gt;Christoph</description>
      <pubDate>Mon, 16 Apr 2012 18:54:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/embed-resources-like-xsl-files-into-routes/m-p/2305538#M77182</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-04-16T18:54:10Z</dc:date>
    </item>
    <item>
      <title>Re: embed resources like xsl files into routes</title>
      <link>https://community.qlik.com/t5/Talend-Studio/embed-resources-like-xsl-files-into-routes/m-p/2305539#M77183</link>
      <description>for the moment I make my camel Contexts with maven archetypes outside the studio
&lt;BR /&gt;there are still missing features like this one in talend studio (perhaps they're hidden...)
&lt;BR /&gt;thx for the reply</description>
      <pubDate>Mon, 16 Apr 2012 19:11:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/embed-resources-like-xsl-files-into-routes/m-p/2305539#M77183</guid>
      <dc:creator>ytuzet</dc:creator>
      <dc:date>2012-04-16T19:11:20Z</dc:date>
    </item>
  </channel>
</rss>

