Variables and reusable content: is it possible "placeholder" in oXygen?

Having trouble installing Oxygen? Got a bug to report? Post it all here.
DAN SEA
Posts: 59
Joined: Tue Sep 13, 2022 4:13 pm

Variables and reusable content: is it possible "placeholder" in oXygen?

Post by DAN SEA »

There was such an interesting question about working with reusable content: I know how to work with it in general.

But if, for example, I need a special variable, which in microsoft word (as far as I know) is called "placeholder": you insert it into a document and write documents for different countries.

And this variable (for example) means units of measurement. For a specific country, the document is displayed with the substitution of its own (accepted in this country) units of measurement - millimeters, inches, feet, etc. into this variable.

Is it possible to use something similar in oXygen?

Thank you!
chrispitude
Posts: 922
Joined: Thu May 02, 2019 2:32 pm

Re: Variables and reusable content: is it possible "placeholder" in oXygen?

Post by chrispitude »

Hi Dan,

Variables are a basic feature of DITA. They can be indeed conditionalized with profiling conditions as you are asking. You should be able to search for "DITA variables" and find many resources and examples. For example,

https://idratherbewriting.com/ > DITA: Variables
Radu
Posts: 9434
Joined: Fri Jul 09, 2004 5:18 pm

Re: Variables and reusable content: is it possible "placeholder" in oXygen?

Post by Radu »

Hi,

Also link to a small topic in the Oxygen User's Manual about defining keys in a DITA Map:
https://www.oxygenxml.com/doc/ug-editor ... -keys.html

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
Post Reply