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

Questions about XML that are not covered by the other forums should go here.
pcelmer
Posts: 8

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

Mon Feb 11, 2013 9:35 pm

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
sorin_ristache
Posts: 4144

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

Tue Feb 12, 2013 6:29 pm

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
Radu
Posts: 5514

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

Wed Feb 13, 2013 10:20 am

Hi Paul,

Use of entities is highly discouraged when editing DITA topics:

http://tech.dir.groups.yahoo.com/group/dita-users/message/30086

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

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
pcelmer
Posts: 8

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

Thu Mar 07, 2013 11:56 pm

Thanks!

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

Thanks again!

Paul

Return to “General XML Questions”

Who is online

Users browsing this forum: No registered users and 0 guests