Localize tag/element name
Posted: Thu Sep 07, 2017 3:47 pm
Hello,
Currently it's possible to change (in cc_config.xml) the name of an element base on an attribute inside the document as described in "https://www.oxygenxml.com/doc/versions/ ... uthor.html" :
We are looking for a way to render the element name based on the language of the application as describded in "https://www.oxygenxml.com/doc/versions/ ... e-language" and not based on an attribute of an element.
The final context is to be used in the Oxygen component.
Best regards.
Manuel
Currently it's possible to change (in cc_config.xml) the name of an element base on an attribute inside the document as described in "https://www.oxygenxml.com/doc/versions/ ... uthor.html" :
Code: Select all
<elementRenderings>
<render element="p" as="Paragraph"/>
<render element="p" as="Paragraphe" xml:lang="fr"/>
<render element="p" as="Absatz" xml:lang="de"/>
</elementRenderings>
The final context is to be used in the Oxygen component.
Best regards.
Manuel