Modify XML files

Tool for Search and Replace across multiple files.
HP
Posts: 2
Joined: Thu Jan 02, 2014 9:05 pm

Modify XML files

Post by HP »

Hi,

I would like to modify some XML files with Text Crawler but sadly Im a total noob so some help would be greatly appriciated.

This is how the line in the XML document looks like:
<GameTypes/>

This is how it should look like for all the files:

<GameTypes>
<HMGameTypes>LimitHoldem</HMGameTypes>
<HMGameTypes>ZoomLimitHoldem</HMGameTypes>
<HMGameTypes>RushLimitHoldem</HMGameTypes>
</GameTypes>

Dont know if its important to have </GameTypes> in the last row at the same level like the rows above(but differently from the first row).

Thanks a lot in advance!

Greets and a happy new year
HP
User avatar
DigitalVolcano
Site Admin
Posts: 1866
Joined: Thu Jun 09, 2011 10:04 am

Re: Modify XML files

Post by DigitalVolcano »

I think you can do a straight search and replace for this. You can use the multi line editor if it helps. I don't think indentation matters in xml files.
HP
Posts: 2
Joined: Thu Jan 02, 2014 9:05 pm

Re: Modify XML files

Post by HP »

Thanks a lot!

The multi line editor did the trick. :-)

Greets
HP
Post Reply