<?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 Re: how to  get xml node  value  in nifi processor? in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/how-to-get-xml-node-value-in-nifi-processor/m-p/201189#M163204</link>
    <description>&lt;P&gt;Hi &lt;A rel="user" href="https://community.cloudera.com/users/30155/salometkhilaishvili.html" nodeid="30155" target="_blank"&gt;@sally sally&lt;/A&gt;, if you are extracting only one value to attribute then its easy to use &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;U&gt;ExtractText processor:-&lt;/U&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;U&gt;&lt;/U&gt;&lt;/STRONG&gt; by adding new property to it by adding regex like below.&lt;/P&gt;&lt;PRE&gt;&amp;lt;count&amp;gt;(.*)&amp;lt;\/count&amp;gt;&lt;/PRE&gt;&lt;P&gt;&lt;STRONG&gt;&lt;U&gt;ExtractText Processor configs:-&lt;/U&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="40542-extract-text.png" style="width: 828px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/17477iAF34C2C5D4C45789/image-size/medium?v=v2&amp;amp;px=400" role="button" title="40542-extract-text.png" alt="40542-extract-text.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;This regex only captures the value in &amp;lt;count&amp;gt;&amp;lt;/count&amp;gt; message and adds an attribute &lt;STRONG&gt;count&lt;/STRONG&gt; to the flowfile.&lt;/P&gt;</description>
    <pubDate>Sun, 18 Aug 2019 05:35:32 GMT</pubDate>
    <dc:creator>Shu_ashu</dc:creator>
    <dc:date>2019-08-18T05:35:32Z</dc:date>
  </channel>
</rss>

