Answer the question
In order to leave comments, you need to log in
Arithmetic operation with numbers inside xml tags of the same name?
There is a large xml document, you need to take all the numbers inside the tags of the same name, perform an arithmetic operation with them, return them back, do not touch the rest.
That is, for example, divide
all the numbers inside by two.
Notepad++ macros cannot do arithmetic, and js I'm afraid that it will spoil the rest of the content after converting to an array and back. What other options are there? <a> <b>100</b><b>200</b><b>300</b> </a>
<b></b>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question