<?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: NIFI:How to get node value using variable node name in nifi processor in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/NIFI-How-to-get-node-value-using-variable-node-name-in-nifi/m-p/222439#M69727</link>
    <description>&lt;P&gt;yes    it  was   helpful  thank  you&lt;/P&gt;</description>
    <pubDate>Thu, 19 Oct 2017 20:47:12 GMT</pubDate>
    <dc:creator>salome_tkhilais</dc:creator>
    <dc:date>2017-10-19T20:47:12Z</dc:date>
    <item>
      <title>NIFI:How to get node value using variable node name in nifi processor</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/NIFI-How-to-get-node-value-using-variable-node-name-in-nifi/m-p/222437#M69725</link>
      <description>&lt;P&gt;i have xml data like this below and i want to get localAttribtes tag by name 'rs' in my EvaluateXpath processor i tried this expression in my EvaluateXpath processor &lt;CODE&gt;//localAttributes/*[@name='rs']/name()&lt;/CODE&gt; but i don't get "rs" tag value :&lt;/P&gt;&lt;P&gt;&amp;lt;?xml version="1.0" encoding="UTF-8" standalone="no"?&amp;gt;&amp;lt;service&amp;gt;&amp;lt;localAttributes name="rs"&amp;gt;&amp;lt;start&amp;gt;2017-09-07&amp;lt;/start&amp;gt;&amp;lt;startDate&amp;gt;2017-02-02&amp;lt;/startDate&amp;gt;&amp;lt;endDate&amp;gt;2017-03-02&amp;lt;/endDate&amp;gt;&amp;lt;runAs&amp;gt;true&amp;lt;/runAs&amp;gt;&amp;lt;patch&amp;gt;this is  patch&amp;lt;/patch&amp;gt;&amp;lt;makeVersion&amp;gt;1&amp;lt;/makeVersion&amp;gt;&amp;lt;/localAttributes&amp;gt;&amp;lt;localAttributes name="ns"&amp;gt;&amp;lt;start&amp;gt;2017-09-07&amp;lt;/start&amp;gt;&amp;lt;startDate&amp;gt;2017-02-02&amp;lt;/startDate&amp;gt;&amp;lt;endDate&amp;gt;2017-03-02&amp;lt;/endDate&amp;gt;&amp;lt;runAs&amp;gt;true&amp;lt;/runAs&amp;gt;&amp;lt;patch&amp;gt;this is  patch&amp;lt;/patch&amp;gt;&amp;lt;makeVersion&amp;gt;1&amp;lt;/makeVersion&amp;gt;&amp;lt;/localAttributes&amp;gt;&amp;lt;/service&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="39822-d.png" style="width: 744px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/15700iCB769217E0DE9D42/image-size/medium?v=v2&amp;amp;px=400" role="button" title="39822-d.png" alt="39822-d.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 18 Aug 2019 02:06:59 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/NIFI-How-to-get-node-value-using-variable-node-name-in-nifi/m-p/222437#M69725</guid>
      <dc:creator>salome_tkhilais</dc:creator>
      <dc:date>2019-08-18T02:06:59Z</dc:date>
    </item>
    <item>
      <title>Re: NIFI:How to get node value using variable node name in nifi processor</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/NIFI-How-to-get-node-value-using-variable-node-name-in-nifi/m-p/222438#M69726</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/30155/salometkhilaishvili.html" nodeid="30155"&gt;@sally sally&lt;/A&gt;&lt;P&gt;can you change the property to &lt;/P&gt;&lt;PRE&gt;//localAttributes[@name='rs']&lt;/PRE&gt;&lt;P&gt;it will gives you only &lt;/P&gt;&lt;PRE&gt;&amp;lt;?xml version="1.0" encoding="UTF-8"?&amp;gt;&amp;lt;localAttributes name="rs"&amp;gt;
&amp;lt;start&amp;gt;2017-09-07&amp;lt;/start&amp;gt;
&amp;lt;startDate&amp;gt;2017-02-02&amp;lt;/startDate&amp;gt;
&amp;lt;endDate&amp;gt;2017-03-02&amp;lt;/endDate&amp;gt;
&amp;lt;runAs&amp;gt;true&amp;lt;/runAs&amp;gt;
&amp;lt;patch&amp;gt;this is patch&amp;lt;/patch&amp;gt;
&amp;lt;makeVersion&amp;gt;1&amp;lt;/makeVersion&amp;gt;
&amp;lt;/localAttributes&amp;gt;&lt;/PRE&gt;&lt;P&gt;(or)&lt;/P&gt;&lt;P&gt;if &lt;STRONG&gt;name=rs&lt;/STRONG&gt; is &lt;STRONG&gt;first in value&lt;/STRONG&gt; &lt;STRONG&gt;every time&lt;/STRONG&gt;  in local attribute node then you can use &lt;/P&gt;&lt;PRE&gt;//localAttributes[1]&lt;/PRE&gt;&lt;P&gt;will results the same output.&lt;/P&gt;</description>
      <pubDate>Tue, 17 Oct 2017 03:23:10 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/NIFI-How-to-get-node-value-using-variable-node-name-in-nifi/m-p/222438#M69726</guid>
      <dc:creator>Shu_ashu</dc:creator>
      <dc:date>2017-10-17T03:23:10Z</dc:date>
    </item>
    <item>
      <title>Re: NIFI:How to get node value using variable node name in nifi processor</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/NIFI-How-to-get-node-value-using-variable-node-name-in-nifi/m-p/222439#M69727</link>
      <description>&lt;P&gt;yes    it  was   helpful  thank  you&lt;/P&gt;</description>
      <pubDate>Thu, 19 Oct 2017 20:47:12 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/NIFI-How-to-get-node-value-using-variable-node-name-in-nifi/m-p/222439#M69727</guid>
      <dc:creator>salome_tkhilais</dc:creator>
      <dc:date>2017-10-19T20:47:12Z</dc:date>
    </item>
  </channel>
</rss>

