This site has been taken over by the staff of www.ASPDeveloper.Net

Please report errors to suggest@aspdeveloper.net

BizTalk Utilities CV ,   Jobs ,   Code library  
 
 
Page 16 of 28

 

Previous Page Table Of Contents Next Page

XSLT Tutorial

XSLT Elements: xsl:if

xsl:if

<xsl:if test=boolean expression>
    template body
</xsl:if>

  • The xsl:if element allows an instruction to be run if it meets a criteria, like the if statement in most languages, except that there is no else statement.  The criteria for entering the if statement is based on a test.

  • Criteria: The criteria is evaluated by a test expression, which returns a true boolean for the following:

      - if the expression returns a node-set, there must be a node in it, 
      - if the expression returns a string, the string cannot be empty, and
      - if the expression returns a number, it must not equal zero (0).

  • There is no else instruction
 Open Worksheet 5 for an xsl:if example
Page 16 of 28

 

Previous Page Table Of Contents Next Page

 

Recent Jobs

Software Specialist, Linux - Finlan
Linux Core Technical Project Manage
Graphics designer at Tanzania. Expe
Integration Specialist Needed - Wor
Virtualization Server Infrastructur

View all Jobs (Add yours)
View all CV (Add yours)






    Email TopXML  

Front Page Daily Stuff TopXML Forum XML blogs XML Newsgroups BizTalk Biztalk Utilities Biztalk Utilities Tutorial B2B SAP XML Microsoft .NET Dotnet System XML Soapformatter SQLXML XMLserializer XQuery PHP PHP SimpleXML PHP XML Dom PHP XML RPC PHP XSLT Java Java Java XML Xalan Microsoft ASP ASP Schemas XML SQL Server XML XMLDom XSL XSL Tutorial XSLT Stylesheets General Javascript CSS XHTML WAP