- This topic is empty.
January 14, 2012 at 12:48 pm #36110PrimalScientistMember
For my university module, I need to prepare a website that shows lots of juices for sale. The information is brought in from my XML page, which is broken down as follows.
The Carrot Supreme
Ginger - Celery Stalks - Carrots - Parsnips
Ginger - Celery Stalks - Carrots - Parsnips - Sparkling Water
This juice drink will fool the taste buds. At once it tastes earthy, and in the next instant it tastes like carrots. This is a full on fun drink!!
The Clear Light
Cucumber - Beet - Rubarb - Carrots - Turnip - Celery
Cucumber - Beet - Rubarb - Carrots - Turnip - Celery - Sparkling Water
This juice tends to be sweet even though there has been no real sweeteners placed in this drink.
This is a testimony that fruits and vegetable when mixed together can be very surprising.
Lets say this is a "bouquet" of the juice drinks.
Here is my XSLT Code.
Copyright ©Yum Juices, 2011
The problem that I am having is that the first juice drink is being displayed all the time? How can I change it so that the XSLT displays all three different juices?
Daz.January 14, 2012 at 12:50 pm #94599PrimalScientistMember
I have had to remove some of the code because I had to many characters, but in the XSLT, there is another div class productblock. When the XML page is displayed, there should actually be three juices shown, and not two.
- The forum ‘Other’ is closed to new topics and replies.