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

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

Hello,

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
Best
Hakan Kiyici

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

nodes
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 MultiTerm 2019
Guarantee a unified, consistent and high-quality translation with terminology software by the industry leaders.

SDL MultiTerm 2019 allows translators to create one central location to store and manage multilingual terminology, and with SDL MultiTerm Extract 2019 you can automatically create term lists from your existing documentation to save time.

More info »



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