Jaxe config files specify the menus to display for a given XML language, as well as the XML schema to use for validation, and the XSL files to use for the HTML preview. They are located in the config directory, and their names end in "_Jaxe_cfg.xml".
The structure of the document must respect a certain order, defined by the XML schema. If you already have a Relax NG schema, you can transform it into a W3C XML schema with the help of Trang
Here is the description of the elements used in the config files:
Informations about an element of the XML language. The attributes are:
Types descriptions :
Parameters can be specified for some element types, with the PARAMETRE element under BALISE.
The elements BALISE of type division and zone can have a parameter specifying the name of the attribute to use as a title for the element display.
The elements BALISE of type fichier must have a parameter specifying the attribute with the file name.
The elements BALISE of type tableau andtabletexte must have parameters specifying the elements for the rows and the cells.
The elements BALISE of type style must have a parameter specifying the style.
The elements BALISE of type zone and string can have a parameter specifying the style, a parameter with the font family, and a parameter with the font size.
The elements BALISE of type equation must have parameters specifying the attributes to use for the equation text and the image filename. The equations text must use a specific syntax.
Here is a list of all the parameters:
type | parameter name | description |
---|---|---|
division | titreAtt | attribute for the title |
zone | titreAtt | attribute for the title |
tableau | trTag | element for a line |
tableau | tdTag | element for a cell |
tableau | thTag | element for a header cell |
liste | typeListe | type of list (POINTS|NUMEROS) (bulleted/ordered) |
style | style | GRAS (bold) | ITALIQUE (italic) | EXPOSANT (superscript) | INDICE (subscript) | SOULIGNE (underlined) |
string | police | font family |
string | taille | font size |
fichier | srcAtt | attribute with the file name |
plugin | classe | Java class derived from JaxeElement |
item | image1 | first bullet image |
item | image2 | second bullet image |
equation | srcAtt | attribute with the image filename |
equation | texteAtt | attribute with the equation text |
The following elements can be used for a simplified schema (when FICHIERSCHEMA is not specified):
This file was created with Jaxe !