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
[b]Hiroki:[/b] Your troubles came more from a problem of logic ( and the lack of quotation marks ) rather than XSL. Indeed if you had read, litterally, your statetement, you would have found out that the [i]award[/i] field can never be 'Gold' _and_ 'Silver' _and_ 'Bronze' but only one of these value at a time. Nonetheless, [b]Nathus[/b] is right to advise you to use [i]<xsl:if ... >[/i] which is more appropriate for your test. I'll add that the [i]<xsl:choose><xsl:when ...>...</xsl:when ...><xsl :otherwise:>...</xsl :otherwise:></xsl:choose>[/i] statement is the XSL equivalent of the [i]switch( ... ){ case ...: break; default: ... }[/i] statement in other languages. [b]Mathieu "POÏ" HENRI[/b] [edit]disabling Slimies[/edit] [This message has been edited by poi (edited 09-29-2003).]
Loading...
Options:
Enable Slimies
Enable Linkwords
« Backwards
—
Onwards »