OZONE Asylum
Forums
XML - XSL - XSLT - XHTML - CSS - DOM
My XML assignment
This page's ID:
11057
Search
QuickChanges
Forums
FAQ
Archives
Register
Edit Post
Who can edit a post?
The poster and administrators may edit a post. The poster can only edit it for a short while after the initial post.
Your User Name:
Your Password:
Login Options:
Remember Me On This Computer
Your Text:
Insert Slimies »
Insert UBB Code »
Close
Last Tag
|
All Tags
UBB Help
Hi, mate. Thanks for your help! I wanna ask further if you don't mind. Well, In my xml database, there are wine list. Some wine gets award. I am trying to suck only wine which gets award. Here is my code of XSL. [code] <xsl:for-each select="home/list"> <xsl:choose> <xsl:when test="award = Gold and award = Silver and award = Bronze"> <tr > <td ><xsl:value-of select="winery" /></td> <td ><xsl:value-of select="wine" /></td> <td ><xsl:value-of select="color" /></td> <td ><xsl:value-of select="award" /></td> <td ><xsl:value-of select="price" /></td> </tr> </xsl: when> </xsl:choose> </xsl:for-each>[/code] As you know, it doesn't work at all. I have tested using IE6. And I guess this line: [b]<xsl:when test="award = Gold and award = Silver and award = Bronze">[/b] Is it wrong??? I cannot see why it does not work. When I open my XML file using IE6, it is only showing table heading not data at all. Help! Hiroki Kozai
Loading...
Options:
Enable Slimies
Enable Linkwords
« Backwards
—
Onwards »