I got the jaxb stuff to generate some nice xml. I updated the QTI  
bindings project with a test. Writes a simple ExtendedTextInteraction  
using the jaxb marshaller. Choice interactions will follow. lets stick  
with ExtendedTextInteractions for now, check out this sweetiness:

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assessmentItem xmlns="http://www.imsglobal.org/xsd/imsqti_v2p0";  
xmlns:ns2="http://www.w3.org/1999/xlink"; 
xmlns:ns3="http://www.w3.org/1998/Math/MathML 
" timeDependent="false" adaptive="false">
     <responseDeclaration identifier="TEXT_NOTE_ID"/>
     <itemBody>
         <extendedTextInteraction placeholderText="I'm just sayin"  
responseIdentifier="TEXT_NOTE_ID" expectedLines="6">
             <prompt>&lt;html&gt;&lt;body&gt;what?&lt;/body&gt;&lt;/ 
html&gt;</prompt>
         </extendedTextInteraction>
     </itemBody>
</assessmentItem>

now, next steps. or next question how do we get this in a Assessment/ 
Note PO-Trunk Step.

1. i just copy and paste into the otml? Scott, i remember you  
mentioning some about which field to put it in. Can you elaborate?

2. once it is in the otml, i need to unmarshall it to an  
AssessmentItemType and set in the Assessment PasBean,  
setAssessmentItem(AssessmentItemType). This could happen in the   
loadRealObject method.

3. Now when going from the authoring tool and saving the bean. I would  
marshall it to jaxb xml in the saveRealObject to the appropriate  
otrunk field.

would this be the appropriate places to do  
this;loadRealObject,saveRealObject?

-Tony




--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"SAIL-Dev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/SAIL-Dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to