Hello i am having a small problem on a knime work flow the thing is i have a XML and i need to change a couple lines of code in them, basically each XML has multiple lines of code that need to be changed and some times the same code has 2 different things that they can be so i need to change the first one one code and the second to another
i made a little mock up demonstrating the idea so the first one must be G0017
while the second one is
G0016
i tryed string replacer (Dictionary) and it worked before but now its changing ever line with the first one and not using the second one
is there any node or anything that can be done to change the first with the first line and then the second with the second ?
here is the mock up to help
Job 65 test.knwf (17.2 KB)
thank you very much for your time
@Bleck the idea is so identify the position of the code and the replacement by counter and then do the replacement per each position in a loop. The example can handle several blocks of replacements.
3 Likes
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.