Special Features of CADIXE
The EMPTY tags
EMPTY tags (for instance a tag such as </BR> in XHTML) are special tags of the DTD whose goal is not to annotate a fragment of text but to introduce some local information in the document. These tags are displayed as icons. The icon (GIF image) to use for a given tag is given in the tag style (cf Creation of Style Sheets). Here is an example of display :
Of course to insert this kind of tag it is not necessary to select a fragment of text as with the other tags. However, if a fragment is selected the EMPTY tag is inserted at the end.
Notion of Comments
With CADIXE, the user can associate a comment to each tag inserted in the document. This comment allows one to express the meaning of an annotation and/or his/her doubts and queries about it. This feature is interesting as soon as the annotation task can spend a long time and/or can involved several different annotators. A comment is organized in two parts :
Tags having a comment are displayed in the XML panel with a specific icon whose color mirrors the status. These notes are stored in the XML file as a comment <-- ... --> (in the XML meaning of the term) that are interpreted by CADIXE during loading process. This information therefore doesnt change the congruity of the document with respect to the DTD. To add (or modify) a comment associated to the current tag, there are three ways :
When the dialog box (or the tool) is displayed, the user can navigate between the comments thanks to a set of three colored pairs of buttons. Black ones allow to go to the next/previous comment, Orange/red one allow to go to the next/previous comment having a status either unvalidated or erroneous, and Red ones allow to navigate between the erroneous comments only.
Finally, the Reset button (the crossed C) suppresses the current comment : the status becomes validated and the text field is emptied
With CADIXE it is possible to associate several style definitions to a given tag, the selection of the style being dynamically done according to the value of one or several attributes. This feature allows to graphically telling apart a set of information having the same semantic without the need of multiplying the number of tags described in the DTD.
We are going to illustrate this feature with a simple example. Let us imagine we have in a (biological) DTD a tag named <INTERACTION> with an attribute ROLE that can take two different values : ACTIVATE and INHIBIT. If the user wants to have two different display styles for this tag according to the value of ROLE, he/she just have to put the following lines in the CSS styles (see also Creation of style sheets) :
The two new styles will be automatically used by CADIXE according to the value filled in ROLE, the display will be the following :
If the user would like to specialize the display with several attributes he/she just have to put a list of attributes in CADIXE-index-attribute (separated by a comma) and to create has many new styles that the number of possible combination of values.
Looking at the annotated document on the WEB
It is possible to show an annotated document with a standard WEB browser as soon as it is able to deal with the CSS style sheets in a XML document (thats the case for instance of FireFox, Safari, ). Indeed, when a document is saved in CADIXE the following line is automatically inserted in the file header :
The name XXX.CSS is the one of the current style sheet. Therefore by copying this file in the same folder than the document, any user can load and display the document on the WEB.
Caution: as the annotated document are pure XML, to display a Carriage Return between some of the tags, one need to add the attribute display : block; in their style descriptions. Moreover, to improve the aspect of the document, it is interesting to insert some attributes such as padding : numberpx; and vertical-align : numberpx;. Adding these attributes is not a problem for CADIXE since there are currently ignored.
Last Modification :