I am trying to do an if statement to select a template according to...
and I want to do :
if(element(parameter-name) == BeginEndDate) { do this; } else if (element(parameter-name) == Locations) { do that; }
XSLT questions are best sent to the XSL list: http://www.mulberrytech.com/xsl/xsl-list/
In either case, I had a few difficulties in deciphering your problem description, but maybe you want <xsl:choose> <xsl:when test="parameter-name='BeginEndDate'"> do this </xsl:when> <xsl:when test="parameter-name='Locations'"> do this </xsl:when> </xsl:choose>
Perhaps you should buy yourself a good XSLT introduction book, the XSL FAQ linked from the URL above has a list.
J.Pietschmann
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]