D
daz_oldham
Hi
I am doing an XSLT that processes (for example) a list of hotels.
Each hotel has the attribute @StarRating which is one of the following
values:
*
**
***
****
*****
Is it possible to pass my attribute to a custom function that could
then do in effect a case statement on them, replacing it with an image
to represent the star rating?
I am sure that it is, but if not, how do you work around this?
Many thanks
Darren
I am doing an XSLT that processes (for example) a list of hotels.
Each hotel has the attribute @StarRating which is one of the following
values:
*
**
***
****
*****
Is it possible to pass my attribute to a custom function that could
then do in effect a case statement on them, replacing it with an image
to represent the star rating?
I am sure that it is, but if not, how do you work around this?
Many thanks
Darren