Dear M. Shafie, Below, 3 short questions related to XXE styling & customization (5.4.1); many thanks for your advices. Best regards. Philippe.
1. We have designed a small XXE-addon to edit one of our XML dialects; in our dialect, all elements are identified by their @Name attribute. We want to provide our authors (software developers in this case) a fast an convenient way to search for a given element by its name. We know about the attribute search tools, but it too generic and not straightforward to use (one has to "XML-aware", know about the attribute name, etc etc. The tool is closed after each search). So we plan to develop a tailored search feature easily accessible from the GUI when editing files of this dialect; this feature would naturally call the xpathSearch (e.g. //*[@Name = something) behind the scene. Is is possible to add such a tool with a simple customization of the XXE toolbar, or do we have to write Java code and a XXE GUI customization ? (we would like to avoid if at all possible). 2. We have two different views for editing the content of our files, depending on the presence of some elements within the file, it's better to use one or another. Is there a way to automatic select the default views depending on the file's content ? (something similar to the detect mechanism for triggering the add-ons). 3. The last one is related to CSS-styling; in our graph-view, element names are rendered using text fields in a hierarchical graph view; below a short screen capture to help you visualize: We would like to make those text-field thin and and discrete in this view, at least avoiding having a different background color for them. The following: text-field(attribute,"Name",background-color,transparent) Does not seem to work (specifying another background-color works OK, but changes the color for all text fields in the view even those used in different elements...). Is there a way to assign a transparent background color to text fields ?
<<attachment: unknown-R79GPW>>
-- XMLmind XML Editor Support List [email protected] http://www.xmlmind.com/mailman/listinfo/xmleditor-support

