=================================
The variable $CHOOSE seems NOT work with the function 'mod'.
more info:
The XML look like
<Atts>
<Att>
<something></something>
<AttFormats>
<AttFormat>jpg</AttFormat>
<AttFormat>gif</AttFormat>
</AttFormats>
</Att>
<Att>
...
...
</Att>
</Atts>
I need to display each file format (Attformat) in one row inside a table.
I think you can try the following XSL stylesheet with your own XML document...
(you must put "bgcolor" attribute into "td" tag only...)
</xsl:stylesheet>
i hope it will work fine as you want
:)
Regards
Analogx
(don't hesitate to contact me if you need some help...)
We're using xalan (Java) to do XSLT. What we found out is that you can only set a xsl:variable ONCE. So when it's set once, it keeps that value. We work around it by determining the value elsewhere and passing it in through xsl:param
Hello
I don't know Xalan.
i'm using Sablotron with PHP.
Sablotron is a XSLT Processor written in C++ (i think it's greter than Java :-)) ).
For more informations i invite you to see Sablotron homepage
http://www.gingerall.com