Altova Mailing List Archives>Archive Index >microsoft.public.xsl Archive Home >Recent entries >Thread Prev - Re: xsl:value-of select= .. looking to plug in the column first the first match based in another list. [Thread Next] Re: xsl:value-of select= .. looking to plug in the column first the first match based in another list.To: NULL Date: 6/3/2009 10:45:00 AM Thanks for your response. Sorry, but I was able to find a working solution using XSL. Basically this: <xsl:value-of select="/dsQueryResponse/Master/Rows/Row[@Title = current ()/@Key]/@Lastname" /> Somewhat on subject, Do you think it's possible that XSL could handle logic as crazy as this? Two data sources : S1 = UserName, testnbr, questnbr, answer (one row for every user, test and question combination that has been answered ) S2 = Questnbr, answer (fixed number of rows, one per questions) The current page has the UserName. Given that Username, and the total number questions (5 for this test), return (in random) the next pending question and test number to the form . So say UserA, has taken the exam 4 and 1/2 times already, meaning he's got answers for all five questions for Tests 1,2,3 and 4. He's also got answers for questions 3 and 4 (as an example) fortest 5. Could we write an XSL that would return Testnbr= 5, questnbr= 1,2 or 5? Thanks again. | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
