Hi,
I have a list of items like how its listed below, and I'm trying to get that option selected by default which has a certain tag within the "listing" tag.
<select>
<xsl:attribute name="name"><xsl:value-of select="@id"/>_type</xsl:attribute>
<option><xsl:attribute name="value"><xsl:if test="listing/Chat"><xsl:attribute name="selected">selected</xsl:attribute></xsl:if>Chat</xsl:attribute>Chat</option>
...
Am I placing the xsl:if incorrectly?