Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Matt 10 posts 32 karma points
    May 22, 2010 @ 18:40
    Matt
    0

    How do I program XSLT against dynamic database fields?

    Simple problem. I create a datatype of dropdown list, and assign some values.
    Then I create an XSLT file with a choose statement, and depending on the value of the dropdown, print out different information.

    Now if I don't have control over the Id's assigned to my dropdown list values, then how do I program my XSLT around this? Right now it's easy for me to just read up the values and change them in the XSLT file, but realistically if I wanted to make a package for other people to install, the values could be anything!


    What is the best way to solve this problem?

    Also what is the difference between a dropdown list, and a dropdown list publishing keys?

  • Matt 10 posts 32 karma points
    May 22, 2010 @ 19:01
    Matt
    2

    Never mind it looks like I was able to answer my own question. By changing the datatype from dropdown list publishing keys to dropdown list, the value stored in the database is now both the value and text. Now it doesn't matter what the database Id is

Please Sign in or register to post replies

Write your reply to:

Draft