Page 1 of 1

Is there an easy way to add a global text entity?

Posted: Mon Feb 11, 2013 9:35 pm
by pcelmer
I would like to add a text entity and have that entity show up in the entity viewer for all the .xml files referenced by my ditamap.

I tried the help files...."insert text entity" "text entity" "insert entity", etc. :(

Thanks,

Paul

Re: Is there an easy way to add a global text entity?

Posted: Tue Feb 12, 2013 6:29 pm
by sorin_ristache
Hi Paul,

If you want to have the entity available in all types of DITA topics I think you have to add it to the built-in DTDs of DITA OT which is embedded in Oxygen, for example in the file:

Code: Select all

[Oxygen-install-dir]/frameworks/dita/DITA-OT/dtd/technicalContent/dtd/uiDomain.ent

Regards,
Sorin

Re: Is there an easy way to add a global text entity?

Posted: Wed Feb 13, 2013 10:20 am
by Radu
Hi Paul,

Use of entities is highly discouraged when editing DITA topics:

http://tech.dir.groups.yahoo.com/group/ ... sage/30086

If you want to reuse content you can use the DITA mechanism of conrefs, keyrefs and conkeyrefs.

Regards,
Radu

Re: Is there an easy way to add a global text entity?

Posted: Thu Mar 07, 2013 11:56 pm
by pcelmer
Thanks!

I used phrase tags set up in a table in a topic and now can reference that.

Thanks again!

Paul