XML parsing in file type, excluding some part or element or source
Thread poster: Hakan Kiyici

Hakan Kiyici  Identity Verified
Local time: 01:36
Member (2009)
English to Turkish
+ ...
Nov 27, 2013


I am not very good at this XML stuff. I have checked a couple of postings for samples etc. But they didn't really help with my situation.

I have an XML file which contains Source and Target texts. Trados imports and works on XML files. But I was wondering if it would be possible to exclude source at the file type level. Otherwise, source and target are both included in the translation window which causes some confusion.

I have checked custom xml rule and tried to make "source" attribute(?) non-translatable or be excluded and not to be displayed in the translation window. But, I couldn't succeed.

It is not very important. But it would contribute a lot if this is resolved. I have included s small part of it. Between the source attribute text type varies from title to paragraph.

Thank you for help in advance
Hakan Kiyici

There are for opening and closing which I deleted here to show the code.

element ignore="false" modified="false" type="title"
source lang="English"
text type="title"My source text to translate /text
/source target action="Translate" /target /element
element ignore="false" modified="false" type="teaser"
source lang="English"text type="teaser"My source text o translate. /text /source
target action="Translate"
text type="teaser" id="d1e22" My target translated text. /text /target /element

[Edited at 2013-11-27 03:18 GMT]


To report site rules violations or get help, contact a site moderator:

You can also contact site staff by submitting a support request »

XML parsing in file type, excluding some part or element or source

Advanced search

Protemos translation business management system
Create your account in minutes, and start working! 3-month trial for agencies, and free for freelancers!

The system lets you keep client/vendor database, with contacts and rates, manage projects and assign jobs to vendors, issue invoices, track payments, store and manage project files, generate business reports on turnover profit per client/manager etc.

More info »
SDL Trados Studio 2019 Freelance
The leading translation software used by over 250,000 translators.

SDL Trados Studio 2019 has evolved to bring translators a brand new experience. Designed with user experience at its core, Studio 2019 transforms how new users get up and running, helps experienced users make the most of the powerful features, ensures new

More info »

  • All of ProZ.com
  • Term search
  • Jobs
  • Forums
  • Multiple search