I wonder if I should post this in AJAX forum.
I want to compare the xml value with the PHP that I have using a parameter. So far I can compare only one of them. How about if there are two values that I want to compare?
I tried using or,but no luck. While using and will give me error.
This is my code that works for the meanwhile;
<xsl:param name="team"></xsl:param>
<xsl:param name="type"></xsl:param>
<xsl:param name="price"></xsl:param>
<xsl:for-each select="items/item">
<xsl:if test="$team = manufacturer">
//show tables
</xsl:if>
</xsl:for-each>
What I want to do is if type is netbook then show the netbook list
or also users can combine these condition together, if users want manufacturer = HP and the type is netbook, then it will filter again
I tried this;
<xsl:if test="$team = manufacturer and $type = type">
But then though it didnt show any error,it also didnt list anything
Please help.
Tell me what I can do to get the way I want it.
Thanks in advanced