

The cmdescription option specifies a brief description for the course module. The cmname option specifies the course module name. Longer strings will be truncated, and shorter ones padded out. The id is a 32-character alphanumeric string. If no id is provided this commands attempts to find id or ident attributes in the XML, and failing that produces a random id. When processing multiple files, id can be supplied as a prefix, to which a count will be added to each subsequent question. It is useful to specify the id when the generation/import process will be repeated multiple times.

When importing the course module into Maple T.A., questions that match this id will be overwritten with the new question. The id option allows you to specify the unique identifier to be stored as part of the question. If the verbose option is set to true, the command outputs additional processing information.

Postprocessing is only invoked on certain subelements of item, presentation, and equivalent elements. The second argument to the handler is the name of the element. The first argument of the handler is the processed XML as a string (not a record). The return value is used instead of the original output to continue processing. After processing an element matching the table index, the handler procedure is called, which can modify the given string. You must provide a table of handlers, with each entry in the table being of the form "string" = procedure(string,string). The postprocess option allows you to specify element handlers for postprocessing specific XML entities. Preprocessing is only invoked on certain subelements of item, presentation, and equivalent elements. A pair of return values can be returned of type (record,string), in which case the second return value indicates the element should be processed as a new entity type. The return value is used instead of the original record to continue processing. Before processing an element matching the table index, the handler procedure is called, which can modify the given record. You must provide a table of handlers, with each entry in the table being of the form "string" = procedure(record,string). The preprocess option allows you to specify element handlers for preprocessing specific XML entities. This allows easy import of an entire directory with mixed QTI and resource files. Files in the directory that are obviously not XML, or do not have top-level XML elements matching one of assessment, item, or section are ignored. questions and packaged in a course module. All files that match the supported QTI XML structure are converted into Maple T.A. The input filename can be the name of a file, the name of a directory, or a list of files and directories. Some optional mechanisms are provided in order for users to extend the capabilities of this command. Only a portion of the QTI 1.2 specification is supported by this command. The QTI command converts IMS Question & Test Interoperability ( QTI ) files into Maple T.A./Mobius course modules. Output = filename or raw (default is filename) Overwrite = true or false (default is false) Verbose = true or false (default is false)Ĭmname = string (default is "mplqti_import")Ĭmdescription = string (default is "External Conversion") (optional) equations of the form option=value specify options for the QTI command
