|
XML.HTMLTeacher.Com
[Search] [Contact] [Sitemap] |
XML
[Main] [XSLT] [<xsl:choose> <xsl:when> <xsl:otherwise>] |
|
[Classes]
[XHTML] [XML] [CSS] [Design] [Programming] [Marketing] |
|
|
Example 1 This example looks for <xsl:when test="FullName[@EmployeeID='222333444']"> If found, then bring back the <xsl:value-of select="FullName"/> View XSL stylesheet View result Example 2 This example looks for <xsl:when test="FullName='Susan Jones'"> then bring back the <xsl:value-of select="FullName"/>. However, since there is not an employee by the name of Susan Jones, we have included <xsl:otherwise> to bring back the <xsl:value-of select="FullName[@EmployeeID='333444555']"/> View XSL stylesheet View result |
| All materials, tutorials and content are copyrighted by HTMLTeacher.Com.
Any use of any material, tutorials and/or content provided by this site is prohibited without expressed written consent of the author. Copyright ©2003 HTMLTeacher.Com and Sonia Weimann
|