<?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>question NiFi - How to read values from XML and use in putFile flow in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/NiFi-How-to-read-values-from-XML-and-use-in-putFile-flow/m-p/222656#M184526</link>
    <description>&lt;P&gt;I am trying to use a very basic flow. I have input directory and xml config file which has the path of output directory. I would like to use NiFi to take files from input directory and move to output directory which is defined in xml config file. Could you suggest the way to do this by using NiFi?&lt;/P&gt;&lt;P&gt;ex: input path: &lt;CODE&gt;/var/tmp/input/file1.txt&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;config file (config.xml)&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&amp;lt;config verbose="false" debugMode="false"&amp;gt;
&amp;lt;path&amp;gt;/var/tmp/output/&amp;lt;/path&amp;gt;
&amp;lt;/config&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;based on input path and config.xml, I would like to move &lt;CODE&gt;file1.txt&lt;/CODE&gt; into &lt;CODE&gt;/var/tmp/output/&lt;/CODE&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 20 Jun 2017 20:39:17 GMT</pubDate>
    <dc:creator>pchallauk</dc:creator>
    <dc:date>2017-06-20T20:39:17Z</dc:date>
  </channel>
</rss>

