PDA

View Full Version : ASP dropdown menu (XML/XSL)


Steerman
09-16-2008, 09:50 AM
Hi

I have a system that lets me choose a xml file to upload, and transform it with xsl. It works really good.

Now, i want to let the users also choose from different premade stylesheets.

I have like 3 or 4 different xsl stylesheets, that they should choose from, but i can't get it to work. I have uploaded my progress, so far, when it works, with only one stylesheet.

Please help me :)

miranda
10-15-2008, 12:47 AM
Have you tried using a cookie?

You can let the users select the style sheet save that value as a cookie and display that chosen stylesheet

just assign a default value for the style so if Request.cookies returns no value they will see the default stylesheet