Jump to content

Random XML help needed.


MetalSlug

Recommended Posts

How would you do a Random Number with xslt so you would get a random stuff from your xml???? Also if you have any kind of quiz example like the one you got on w3schools.com site. I wanna know how to design a quiz like the one on this web site.Thanks please help

Link to comment
Share on other sites

  • 2 weeks later...

Scince I first read this post when it was posted, I was looking for an answer in the XSLT and XPath references to see if there is such a thing and... well... I don't think it's in XSLT's power to select things at random. At least- not yet. You can always use a server side script to switch XPath expressions though.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...