XML.HTMLTeacher.Com
[Search] [Contact] [Sitemap]
XML
[Main]
[XSLT]
[<xsl:if>]
[Classes]
[XHTML]
[XML]
[CSS]
[Design]
[Programming]
[Marketing]

* This XML file was used for the example.

* The <xsl:if> element tests for required content before displaying specific results based on whether or not the expression is true or false.

* The <xsl:if> element uses the test attribute with a value of the element name and what that element's content should state.

Example

View the 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