[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Seed problem in FXSL randomizeList

Subject: Re: Seed problem in FXSL randomizeList
From: Jesper Tverskov <jesper.tverskov@xxxxxxxxx>
Date: Tue, 6 Oct 2009 15:57:50 +0200
Re:  Seed problem in FXSL randomizeList
Let us say we have a list in XML of type "items/item", with all the
countries in the world, containing e.g. name of country and href to
the img with the flag. We could then generate a multiple choice test
with let us say as many questions as we have countries or items or
five for each country for that matter, and show the flag of a country
and five answer options, the true answer and four false options.

We could type all that junk in manually, but if the multiple choice
test is only in order to exercise your memory and for learning the
flags of the countries of the world in a nice way, then an
automatically generated multiple choice test could come in handy. And
we can generate it again and again with other combinations as we
please.

The same type of generated multiple choice test would work well as a
simple learning device for the Members of Congress (like learning
their names and what they look like), etc, etc.: for all sorts of list
information organized the right way.

Now I would love to be able to do the above with XSLT alone. For the
test application running the multiple choice tests, we also need a lot
of randomizing like choosing between the questions and presenting the
answer options in random order each time they are displayed. For that
part I use ASP.NET and C# and have it all working and I could also use
C# for the above probem. But for a pure transformation problem like
above I would, as an "XML" person, much prefer doing it with XSLT.

I have already fond a solution to the problems I have had with FXSL. I
could simply choose to use positions 2-5 instead of positions 1-4 for
the four false answers. But I hate the feeling that I need to
implement and bend FXSL to get it to work, and would much prefer that
it works out of the box.

Cheers,
Jesper

http://www.xmlplease.com

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.