I hope this is the best place to post this. I’ve had a bit of a hunt around Google and maybe I’m not using the right search terms as xml is far from an area of my expertise! So any help on how to achieve this using Sublime would be greatly appreciated.
Not sure if I’m using the right terminology here but I’ve got a fairly large search and replace job on a xml I wouldn’t have a clue how to do! It’s a MIDI config for a DJ controller and it should have four deck control, each deck uses a separate MIDI channel (should make things a little simpler, so below is one single example of the Control glass of which there is one for every single control (or two for notes as there’s Note Off as well.) Within each class I need search the status string for a value and if I find a that value change the group string. I’m sure there must be some way to search treating each class as an object. It’s definitely much more along the lines of OOP than simple text editing though…
Example control class/object:
<control> <group>[Channel1]</group> <key>quantize</key> <status>0x97</status> <midino>0x10</midino> <options> <normal/> </options> </control>
There are probably in the range of a couple of hundred such control Classes(??) within the main controls class which are not in any order so I can’t highlight the respective areas and search within that. Any idea what I would do??