RamHelp © Requirements to run RamHelp
|
The RamHelp user interface is a similar to any traditional Help window
with a tree view holding the contents sorted chapter wise and a
HTML Editor to view the corresponding HTML file that holds the
help information.
The user interface is built using a utility class called HelpXML, that needs an XML document as a parameter.(Alternatively, the HelpXML class also takes a string as parameter, that represents the path of the XML File.)
The XML File's structuring is done based on the following assumptions.
For example, If the Help title is Java, then we can organize the chapters as follows.
The XML file starts by defining the Information(The INFO Tag) about the
help by way of its title and thencontains information on the author, the version of the help documents and the date of creation. Next comes the CONTENT Tag that defines the Contents of the help. The INFO Tag has 3 attributes.
There can be one or more contents.
The CHAPTERS Tag comes after the INFO Tag and houses a NAME tag. This NAME tag contains the Name of each chapter. note :The NAME tag must hold only Chapter names that are present as part of the CONTENT tag's CHAPTER attribute Then comes the Optional SEARCH Tag that in turn holds a CRITERIA Tag. The CRITERIA Tag has 3 attributes The CRITERIA Tag has 3 attributes.
The Search Tag is, however optional and internally, a Search is made by trying to match the search text entered with the contents specified. Unlike in any professional help tool, the Search results do not directly link you to the contents. However, a search result dialog will contain one or more statements in the format That should direct the user to which chapter he needs to get into and under that which topic to look for. A Sample XML file
|
| Mail Meto leave your thoughts/suggestions on this tool. I started this just to learn XML and parsing XML using dom4j. So This tool may not be fool proof .Positive suggestions and guidelines can help make it one |