nifi-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sally <sally.tkhilaishv...@gmail.com>
Subject Nifi:how to add tag in xml response
Date Thu, 09 Nov 2017 12:26:13 GMT
I want to add xml tag ${filename} to xml response which i got from service
how should i do it i mean i have made replace, end even delet operations in
replaceText processor but how can i add something?

1.Should i use Replace Text processor i should do it with groovy code?(p.s i
should add this tag inside details tag) here is my xml content:


<?xml version="1.0" encoding="UTF-8"?>
<service>
 
  <Person>
  <details>
  <start>2017-10-22</start>
  <id>*******</id>
  <makeVersion>1</makeVersion>
  <patch>patch</patch>
  <parameter>1</parameter>
  </details>
  </Person>
</service>



--
Sent from: http://apache-nifi-users-list.2361937.n4.nabble.com/

Mime
View raw message