increment by column in XML
modify an arbitrary "column" in an xml table by incrementing a an arbitrary placeholder string
Start file
<root> <row> <alpha>mail</alpha> <bravo>@@@@@</bravo> </row> <row> <alpha>male</alpha> <bravo>@@@@@</bravo> </row> <row> <alpha>mayel</alpha> <bravo>@@@@@</bravo> </row> <row> <alpha>mahel</alpha> <bravo>@@@@@</bravo> </row> </root>
End file
<root> <row> <alpha>mail</alpha> <bravo>10000</bravo> </row> <row> <alpha>male</alpha> <bravo>10001</bravo> </row> <row> <alpha>mayel</alpha> <bravo>10002</bravo> </row> <row> <alpha>mahel</alpha> <bravo>10003</bravo> </row> </root>
View Diff
@@ -1,18 +1,18 @@ <root> <row> <alpha>mail</alpha> - <bravo>@@@@@</bravo> + <bravo>10000</bravo> </row> <row> <alpha>male</alpha> - <bravo>@@@@@</bravo> + <bravo>10001</bravo> </row> <row> <alpha>mayel</alpha> - <bravo>@@@@@</bravo> + <bravo>10002</bravo> </row> <row> <alpha>mahel</alpha> - <bravo>@@@@@</bravo> + <bravo>10003</bravo> </row> -</root> +</root> \ No newline at end of file
Solutions by @AlexanderHeatl2:
Unlock 2 remaining solutions by signing in and submitting your own entry