XML internal tag problem + PCDATA?
Thread poster: JarnoHakulinen
JarnoHakulinen
Local time: 14:04
English
Aug 16, 2005

I'm using Trados 5.0.1.217.

I'm trying to create a functioning .ini file for our firm's xml translation needs. I have the dtd file.

I tried to create the .ini file with the dtd settings wizard. It did not recognise most of the tags, so I added them manually.

All external tags come out nice in TagEditor, but I have a problem with the internal tags. Our firm's dtd has a set of internal elements, which all are labeled under (emphasize). The following could be a piece of the code:

(para)This is (emphasize)(bold)the best(/bold)(/emphasize) firm in the world.

Now, TagEditor does not show the (emphasize) and (bold) as tags, but as translatable text. I need to get all the (emphasize) tags (there are several others, as well) to show as internal tags. Can you help me?


Another problem. I do not know much about xml, but our firm's xml chief says that, for example, all (para) tags should be PCDATA. The dtd settings wizard only states as options None, CDATA, RCDATA, and EMPTY. Is this relevant?

(The angled brackets of the xml code are replaced with rounded ones)


[Edited at 2005-08-16 11:04]

[Edited at 2005-08-16 11:06]

[Edited at 2005-08-16 11:11]

[Edited at 2005-08-16 11:13]


Direct link Reply with quote
 

Ralf Lemster  Identity Verified
Germany
Local time: 13:04
English to German
+ ...
Code is not visible as plain text in the forum Aug 16, 2005

Hi Jarno,
You will notice that the code you quoted is not shown; the forum software interprets this code as a command (albeit an invalid one).

You may want to try using the "Code" tags as explained in the Forum FAQ.

Best regards,
Ralf


Direct link Reply with quote
 
JarnoHakulinen
Local time: 14:04
English
TOPIC STARTER
Code tags not working Aug 16, 2005

I tried to add the CODE tags, but they do not seem to help.

Is there a way to include tag markers in the post so that they will show?


Direct link Reply with quote
 

Ralf Lemster  Identity Verified
Germany
Local time: 13:04
English to German
+ ...
Replace pointed brackets... Aug 16, 2005

JarnoHakulinen wrote:

I tried to add the CODE tags, but they do not seem to help.

Is there a way to include tag markers in the post so that they will show?


...with round ones.

HTH, Ralf


Direct link Reply with quote
 
JarnoHakulinen
Local time: 14:04
English
TOPIC STARTER
Now it works Aug 16, 2005

Thanks Ralf!

Now I have fixed the post so that the xml code is in rounded brackets. ()

I hope that someone can help me.


Direct link Reply with quote
 
JarnoHakulinen
Local time: 14:04
English
TOPIC STARTER
Problem is in internal tags Aug 22, 2005

I have now experimented a bit more with the ini file and the xml.

I removed the (emphasize) tags from the xml file and the ini. Now, as far as I understand, it should work. But TagEditor still does not show the internal tags (bold), (italics), etc. correctly. If I mark them as "group", everything inside these tags shows as non-translatable, so Trados surely understands them as tags.

But it does not show them as internal tags if I mark them as internal tags. Where could the problem be?


Direct link Reply with quote
 


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


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

XML internal tag problem + PCDATA?

Advanced search







PerfectIt consistency checker
Faster Checking, Greater Accuracy

PerfectIt helps deliver error-free documents. It improves consistency, ensures quality and helps to enforce style guides. It’s a powerful tool for pro users, and comes with the assurance of a 30-day money back guarantee.

More info »
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 »



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