Nylon Technology Presentation: Introduction To XSLT And XmlTransform() In ColdFusion

<!--- Match toe element. --->
<xsl:template match="toe">
 
	<!--- Describe toe. --->
	<xsl:choose>
		<xsl:when test="@isbigtoe">
			Big!
		</xsl:when>
		<xsl:when test="@iscute">
			Cute!
		</xsl:when>
		<xsl:otherwise>
			N/A
		</xsl:otherwise>
	</xsl:choose>
 
</xsl:template>

For Cut-and-Paste