This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: Conditional IE5 xsl


> I need to execute different html code depending on the
> value of a node eg. ("/Form/Name").

<xsl:choose>
	<xsl:when select="/Form/Name[. = 'Brown']">
		<!-- do something -->
	</xsl:when>
	<xsl:otherwise>
		<!-- do something else -->
	</xsl:otherwise>
</xsl:choose>


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]