This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Is this possible in XSL?


Hi;
Is it possible to get all the answers'  item-ids in a way that covers
all the possible correct answer combination. 
For example I have this multiple choice question in XML and the correct
answers are "A" "B" and "H". 
What I want to output is to get all the possible correct answer
combination like this: 
			"ABH | AHB | BAH | BHA | HAB | HBA"

How can I do this in XSL?
Thanks.

Cihan


<assessment teds-type="M" required="Y" critical="N">
                <question>
                    <stem>
                        <para>This is the third question.</para>
                    </stem>
                    <answer item-id="A">
                        <para>This is the answer.</para>
                    </answer>
                    <answer item-id="B">
                        <para>This is a answer.</para>
                    </answer>
                    <distractor item-id="C">
                        <para>This is a wrong answer.</para>
                    </distractor>
                    <distractor item-id="D">
                        <para>This is a wrong answer.</para>
                    </distractor>
                    <distractor item-id="E">
                        <para>This is a wrong answer.</para>
                    </distractor>
                    <distractor item-id="F">
                        <para>This is a wrong answer.</para>
                    </distractor>
                    <distractor item-id="G">
                        <para>This is a wrong answer.</para>
                    </distractor>
                    <answer item-id="H">
                        <para>This is the right answer</para>
                    </answer>
                    <distractor item-id="I">
                        <para>This is a wrong answer.</para>
                    </distractor>
	</question>
</assessment>

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]