What for are that new instructions?

2008-05-30
2013-05-01
  • Subj

    <AFFICHAGE_ELEMENT element="PLUGIN_INSTRUCTION" type="zone">
    <PARAMETRE nom="titreAtt" valeur="cible"/>
    </AFFICHAGE_ELEMENT>
    <AFFICHAGE_ELEMENT element="PLUGIN_COMMENTAIRE" type="zone"/>

     
    • There are ways to change the XML GUI for all XML elements in Jaxe. But until now, it was not possible to  change the way processing instructions were displayed, and XML comments were not even displayed at all. These new elements (PLUGIN_INSTRUCTION and PLUGIN_COMMENTAIRE) in configuration files can now be used to define a plugin to use to display processing instructions and comments in a customized way.

       
    • What means the parameter?
      Where can i read about that? I mean classes, API etc.

       
      • You are looking at the configuration file for configuration files. The "titreAtt" parameter means that the "cible" attribute will be displayed in the starting tag for the PLUGIN_INSTRUCTION element, when looking at a configuration file.
        The plugins for processing instructions and comments work in the same way as with other element : you have to provide a parameter within PLUGIN_INSTRUCTION and PLUGIN_COMMENTAIRE, with the name "classe", that specifies the Java class deriving from JaxeElement that will be used for display.