Duplicate visits to expressions defined in RHS of a setter

2023-04-02 Thread Saravanan Palanichamy
Hello Groovy Devs - I have a class defined MyTestClass in java/kotlin (does not matter) - I have a groovy class defined MyClassDefinedInGroovy - I have code in a groovy function that is creating these classes and setting a variable in the object. I compile this with static compilation

Re: Improving what I extract for my xml tag

2023-04-02 Thread Kendall Shaw
itt.@name gets you the attribute called "name". On 4/2/2023 9:29 AM, James McMahon wrote: Hello. I am developingĀ a Groovy script to work through all the tags in an incomingĀ t"ext representation of an xml file. I've read my xml from the content of a NiFi flowfile, like so: session.read(ff, {i

Improving what I extract for my xml tag

2023-04-02 Thread James McMahon
Hello. I am developing a Groovy script to work through all the tags in an incoming text representation of an xml file. I've read my xml from the content of a NiFi flowfile, like so: session.read(ff, {inputStream -> text = IOUtils.toString(inputStream, StandardCharsets.UTF_8) de