Displaying translate tag name

Oxygen general issues.
aia
Posts: 8
Joined: Thu Aug 06, 2009 7:20 pm

Displaying translate tag name

Post by aia »

Hi

1- In the Author mode display : It is possible to display the translate tag names instead the tag name defined in the dtd.
2- It is possible to associate a color for each tag (when I don't have prefix)

Regards
sorin_ristache
Posts: 4141
Joined: Fri Mar 28, 2003 2:12 pm

Re: Displaying translate tag name

Post by sorin_ristache »

Hello,
aia wrote:1- In the Author mode display : It is possible to display the translate tag names instead the tag name defined in the dtd.
What do you mean translate tag names? Do you mean a tag name translated for example from English to French?
aia wrote:2- It is possible to associate a color for each tag (when I don't have prefix)
Do you mean a color for each XML tag in Text mode of XML editor like the colors that you can set from Preferences -> Editor -> Colors? That is not available. There is only one color for all the XML tags. You can set a different color for all the tags with a prefix that you specify in Preferences -> Editor -> Colors -> Elements/Attributes by Prefix but you cannot set a different color for each tag. I think that would distract visually the user while editing the XML document.


Regards,
Sorin
aia
Posts: 8
Joined: Thu Aug 06, 2009 7:20 pm

Re: Displaying translate tag name

Post by aia »

Hi Sorin,
thank you for your answer,

1- Yes In the Author mode, when I display full tag, I want to display the translation of the tag name (english to french), for example in my DTD I have the tag named "Level", I want to display "Niveau" instead "Level"

2- For the colors, I Asked always in the Author mode (when I activate the full tag display)

Best regards
sorin_ristache
Posts: 4141
Joined: Fri Mar 28, 2003 2:12 pm

Re: Displaying translate tag name

Post by sorin_ristache »

Oxygen must display the tag names as they are defined in the DTD or XML Schema or RELAX NG schema that is associated with that document. If you want other tag names you should modify the tag names in the DTD or the schema.

No, you cannot set a different color for each XML tag in Author mode. The reason is the same: the user would be distracted by such color diversity per square inch of screen. You can configure one color for all the tags but not a color for each tag.


Regards,
Sorin
aia
Posts: 8
Joined: Thu Aug 06, 2009 7:20 pm

Re: Displaying translate tag name

Post by aia »

Hi,
I the future ( next versions),
do you plan :

1 - To permit to display the translation of the tag names defined in the DTD ? because if I translate the tag names in the DTD I must to maintain and manage 2 instances of the XML document ( the xml generated must be in english and the the view in french)

2 - To permit to disable the Grid mode and the texte mode?

3- How can I manage the memory occuped by Oxygen and improve performance

thank you

Regards
sorin_ristache
Posts: 4141
Joined: Fri Mar 28, 2003 2:12 pm

Re: Displaying translate tag name

Post by sorin_ristache »

Hello,
aia wrote:1 - To permit to display the translation of the tag names defined in the DTD ? because if I translate the tag names in the DTD I must to maintain and manage 2 instances of the XML document ( the xml generated must be in english and the the view in french)
Do you want to see French tag names instead of the current English tag names that are used in the XML document? Did you try to translate each tag and create a copy of the document in which all English tag names are replaced with the translated French tag names?

An editor application should display the actual tag names as they are in the XML document otherwise it is misleading the user to think that he is editing another document.
aia wrote:2 - To permit to disable the Grid mode and the texte mode?
You don't have to switch to Text mode or Grid mode if you don't want to use these editing modes. You can set your XML documents to be opened always in Author mode and after they are opened just don't switch to other editing modes. You set the initial mode (Text, Author, Grid or Schema Design) for each document type (see the option Initial page in the dialog for editing a document type) or for all XML documents regardless of their document type or the schema associated with the XML document (see the entry XML Editor in Preferences -> Editor -> Pages).
aia wrote:3- How can I manage the memory occuped by Oxygen and improve performance
You can increase the maximum memory allocated for editing documents with the -Xmx startup parameter. Version 11 adds support for editing large documents (up to 400 MB) and increases the maximum size of documents that can be viewed in read-only mode to 10 GB. Also we think later versions provide better performance compared to earlier versions of Oxygen. This is dues to both Oxygen improvements and JVM implementation speed improvements in later versions (Java 1.6).

In what actions or features would you like to have performance improvements in Oxygen?


Regards,
Sorin
Post Reply