Friday, 20 April 2007

Use case:

To make additions to the programme such as exporting to another form of XML would simply require the addition of a new xslt file. It would not be necessary to change either the QText or the BQL.Obviously a separate tool bar button would be required on the jsppage to pass the OutputType to the servlet. The servlet (mcqfmservlet.java) would require an additional else if statement (similar to the ones under //output for QML and QTI) to pass the outputType to the questionList GetOutput method.Similarly the GetOutput method in the questionList class would require another else if statement to determine the relevant xsl file name (sheetname).The relevant .xsl file does the transformation from BQL to the required form of XML, therefore no other changes would be required at this stage.

0 comments: