Thank you for the information Michael.
I found out that my php5 has exslt support.
Tough i can't seem to figure out how it works.
I have 1 stylesheet ('main') wich includes another stylesheet ('forms').
In both stylesheets i have put this line of code :
Code:
xmlns:exsl="http://exslt.org/common"
extension-element-prefixes="exsl"
inside the xsl:stylesheet element.
My for-each element looks like this now :
Code:
<xsl:for-each select="exsl:node-set($options)/option">
Wich doesn't seem to work, all my errors are gone, tough in my output there are no 'options' in the 'selectbox'. I tried a lot to get this to work, but the best i got was this line:
Code:
<xsl:for-each select="exsl:node-set($options)/*">
wich produces 2 'options' in the 'selectbox', tough there is no 'name' nor a 'value' in the option.
I read the exslt.org website, but i think i did everthing they said.
On php.net manual it states that someone used the prefix exslt instead of exsl, wich did the trick for them, but first of all i dont believe that and second it doesn't work for me.