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]

Re: printing combinations (was: Is this possible in XSL?)



On Tue, Oct 02 '01 at 10:55, Uslu, Cihan Y (MED) wrote:
> Is it possible to get all the answers'  item-ids in a way that covers
> all the possible correct answer combination. 
It works with xsl-t (you may need a nodeset() extension) like this:

create a named template, that:
- get's passed a node set with all (remaining) valid answers
- does a for-each over all nodes
- in the for each calles itselve with all the remaining nodes, but the
  currently selected one
  (if there are no more nodes, you're done)

Sorry, but I've only the Mulberry QuickRef for XSL-T with me, and no
real docs (and no xsl-t processor), so I cant write you a sample
template.
-- 
Goetz Bock                                              IT Consultant
Dipl.-Inf. Univ.

PGP signature


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