<?xml version="1.0" encoding="UTF-8"?>
<!-- edited with XMLSPY v5 rel. 4 U (http://www.xmlspy.com) by Colin Tattersall (Open University of the Netherlands) -->
<imscp:manifest xmlns:imscp="http://www.imsglobal.org/xsd/imscp_v1p1"
    xmlns:imsld="http://www.imsglobal.org/xsd/imsld_v1p0"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://www.imsglobal.org/xsd/imscp_v1p1 imscp_v1p1.xsd http://www.imsglobal.org/xsd/imsld_v1p0  ldSchema/IMS_LD_Level_B.xsd " identifier="Integration-Example">
    <imscp:organizations>
        <imsld:learning-design identifier="LD-Integration-Example" uri="" level="B">
            <imsld:title>CP, LD, QTIv2 Integration Example</imsld:title>
            <imsld:components>
                <imsld:roles>
                    <imsld:learner identifier="Learner">
                        <imsld:title>Learner</imsld:title>
                    </imsld:learner>
                </imsld:roles>
                <imsld:properties>
                    <imsld:locpers-property identifier="Question_1.SCORE">
                        <imsld:title>The result for the first question</imsld:title>
                        <imsld:datatype datatype="integer"/>
                        <imsld:initial-value>0</imsld:initial-value>
                    </imsld:locpers-property>
                    <imsld:locpers-property identifier="Question_2.SCORE">
                        <imsld:title>The result for the second question</imsld:title>
                        <imsld:datatype datatype="integer"/>
                        <imsld:initial-value>0</imsld:initial-value>
                    </imsld:locpers-property>
                    <imsld:locpers-property identifier="Question_3.SIGNSCORE">
                        <imsld:title>The result for the third question</imsld:title>
                        <imsld:datatype datatype="integer"/>
                        <imsld:initial-value>0</imsld:initial-value>
                    </imsld:locpers-property>
                    <imsld:locpers-property identifier="Total">
                        <imsld:title>The total</imsld:title>
                        <imsld:datatype datatype="integer"/>
                        <imsld:initial-value>0</imsld:initial-value>
                    </imsld:locpers-property>
                </imsld:properties>
                <imsld:activities>
                    <imsld:learning-activity isvisible="true" identifier="LA-Signpost">
                        <imsld:title>Complete the question show in the environment</imsld:title>
                        <imsld:environment-ref ref="E-Simple-Environment"/>
                        <imsld:activity-description>
                            <imsld:title>Check your understanding of signposts</imsld:title>
                            <imsld:item identifier="I-Simple" identifierref="R-Simple"/>
                        </imsld:activity-description>
                        <imsld:complete-activity>
                            <imsld:when-property-value-is-set>
                                <imsld:property-ref ref="Total"/>
                                <imsld:property-value>3</imsld:property-value>
                            </imsld:when-property-value-is-set>
                        </imsld:complete-activity>
                        <imsld:on-completion>
                            <imsld:feedback-description>
                                <imsld:item identifier="I-Feedback" identifierref="R-Feedback"/>
                            </imsld:feedback-description>
                        </imsld:on-completion>
                    </imsld:learning-activity>
                </imsld:activities>
                <imsld:environments>
                    <imsld:environment identifier="E-Simple-Environment">
                        <imsld:title>Quick Test</imsld:title>
                        <imsld:learning-object identifier="LO-QTI-Item1">
                            <imsld:title>Assign a sign</imsld:title>
                            <imsld:item identifier="I-Question1" identifierref="Question_1"/>
                        </imsld:learning-object>
                        <imsld:learning-object identifier="LO-QTI-Item2">
                            <imsld:title>Assign a second sign</imsld:title>
                            <imsld:item identifier="I-Question2" identifierref="Question_2"/>
                        </imsld:learning-object>
                        <imsld:learning-object identifier="LO-QTI-Item3">
                            <imsld:title>And try to assign a third one</imsld:title>
                            <imsld:item identifier="I-Question3" identifierref="Question_3"/>
                        </imsld:learning-object>
                    </imsld:environment>
                </imsld:environments>
            </imsld:components>
            <imsld:method>
                <imsld:play identifier="P-Integration" isvisible="true">
                    <imsld:act identifier="A-First">
                        <imsld:role-part identifier="RP-Example">
                            <imsld:role-ref ref="Learner"/>
                            <imsld:learning-activity-ref ref="LA-Signpost"/>
                        </imsld:role-part>
                        <imsld:complete-act>
                            <imsld:when-role-part-completed ref="RP-Example"/>
                        </imsld:complete-act>
                    </imsld:act>
                    <imsld:complete-play>
                        <imsld:when-last-act-completed/>
                    </imsld:complete-play>
                </imsld:play>
                <imsld:complete-unit-of-learning>
                    <imsld:when-play-completed ref="P-Integration"/>
                </imsld:complete-unit-of-learning>
                <imsld:conditions>
                    <imsld:if>
                        <imsld:and>
                            <imsld:greater-than>
                                <imsld:property-ref ref="Question_1.SCORE"/>
                                <imsld:property-value>0</imsld:property-value>
                            </imsld:greater-than>
                            <imsld:greater-than>
                                <imsld:property-ref ref="Question_2.SCORE"/>
                                <imsld:property-value>0</imsld:property-value>
                            </imsld:greater-than>
                            <imsld:greater-than>
                                <imsld:property-ref ref="Question_3.SIGNSCORE"/>
                                <imsld:property-value>0</imsld:property-value>
                            </imsld:greater-than>
                        </imsld:and>
                    </imsld:if>
                    <imsld:then>
                        <imsld:change-property-value>
                            <imsld:property-ref ref="Total"/>
                            <imsld:property-value>3</imsld:property-value>
                        </imsld:change-property-value>
                    </imsld:then>
                </imsld:conditions>
            </imsld:method>
        </imsld:learning-design>
    </imscp:organizations>
    <imscp:resources>
        <imscp:resource identifier="R-Simple" type="webcontent">
            <imscp:file href="simple.xml"/>
        </imscp:resource>
        <imscp:resource identifier="Question_1" type="imsqti_item_xmlv2p1" href="choice_01.xml">
            <imscp:file href="choice_01.xml"/>
            <imscp:file href="sign.png"/>
        </imscp:resource>
        <imscp:resource identifier="Question_2" type="imsqti_item_xmlv2p1" href="choice_02.xml">
            <imscp:file href="choice_02.xml"/>
            <imscp:file href="sign2.png"/>
        </imscp:resource>
        <imscp:resource identifier="Question_3" type="imsqti_item_xmlv2p1" href="choice_03.xml">
            <imscp:file href="choice_03.xml"/>
            <imscp:file href="sign3.png"/>
        </imscp:resource>
        <imscp:resource identifier="R-Feedback" type="webcontent">
            <imscp:file href="feedback.xml"/>
        </imscp:resource>
    </imscp:resources>
</imscp:manifest>
