This project is read-only.

Remove text between tags

Nov 17, 2010 at 12:51 AM

Hi All,

I am a complete newbie to working with XML/TMX files.

I have a TMX file which contains translations for 6 languages, thousands of body entries per language.

I need to remove 4 of those languages so that there is only 2 languages in the TMX file.

Each language has a tag such as:

<tuv xml:lang="EN">
        <seg>RESOLUTION 55/100</seg>
      <tuv xml:lang="AR">
        <seg>القرار 55/100</seg>
      <tuv xml:lang="ZH">
      <tuv xml:lang="FR">
        <seg>RÉSOLUTION 55/100</seg>
      <tuv xml:lang="RU">
        <seg>РЕЗОЛЮЦИЯ 55/100</seg>
      <tuv xml:lang="ES">
        <seg>RESOLUCIÓN 55/100</seg>

There are thousands of these types of entries.

I would like to remove the RU, FR, ZH and AR entries and be left with only the EN and ES.

How would I go about doing this.

Thanks for your help.

Cheers, Dan

Dec 1, 2014 at 6:56 AM
There is no feature to do batch deleting right now, but it is a good idea to add it in the future.
Marked as answer by clovett on 11/30/2014 at 10:56 PM