version 1.3, 2013/08/18 01:41:37
|
version 1.4, 2016/08/20 14:52:57
|
Line 76 in the repository to see the contents of
|
Line 76 in the repository to see the contents of
|
|
|
Here is some example XML problem code |
Here is some example XML problem code |
which makes a call to the \&cleaneq() routine defined in the library file, passing |
which makes a call to the \&cleaneq() routine defined in the library file, passing |
some arguments: \$eq,'x','y','z' in the call to the routine. |
some arguments: \$eq,`x',`y',`z' in the call to the routine. |
|
|
\begin{verbatim} |
\begin{verbatim} |
<problem> |
<problem> |
Line 155 stringresponse, numericalresponse, etc.)
|
Line 155 stringresponse, numericalresponse, etc.)
|
.library file, this results in an extra id item in the identifier |
.library file, this results in an extra id item in the identifier |
required in \&EXT() \index{\&EXT}functions, e.g., if a problem contains two parts with |
required in \&EXT() \index{\&EXT}functions, e.g., if a problem contains two parts with |
ids of a and b respectively, and the id of the $<$import$>$ for the .library is 15, |
ids of a and b respectively, and the id of the $<$import$>$ for the .library is 15, |
and the *reponse items have ids of 11 and 12 respectively, the |
and the *response items have ids of 11 and 12 respectively, the |
most recent submissions could be retrieved with the following \&EXT() calls.\index{\&EXT} |
most recent submissions could be retrieved with the following \&EXT() calls.\index{\&EXT} |
|
|
\&EXT('user.resource.resource.a.15\_11.submission'); |
\texttt{\&EXT(\char`\"{}user.resource.resource.a.15\_11.submission\char`\"{});} |
|
|
\&EXT('user.resource.resource.b.15\_12.submission'); |
\texttt{\&EXT(\char`\"{}user.resource.resource.b.15\_12.submission\char`\"{});} |
|
|