Plands.com Logo  Business Internet Services 
Main Menu
Home
Planetary CRM
  Benefits
  Features
  Demo
E-Mail Services
  E-mail Hosting
  Newsletters
  Discussion Lists
Web Hosting
Server Co-location
and Administration
Web Applications
Technical Support
Contact Us
DXP Samples
 
DxpHome  ||   Samples  ||   Details  ||   Docs  ||   Trees  ||   xml-xsl  ||   Links


The Condition tag can be used to pass a test condition to an If of ElseIf tag rather than using the condition attribute of the If or ElseIf tag. This is useful when you need to use less than or greater than comparison operators that an XML parser will not permit you to put into an attribute. You can use a Condition tag and put the comparison statement inside a the content section and then tell the XML parser not to parse it. Here is an example:
  
<dxp:If>
   <dxp:Condition><![CDATA[ (where id < 4) ]]></dxp:Condition>
      ...
</dxp:If>

@author Mark Ashworth
@version 0.2, 2001-05-09

Return to Index

Note: We have tried to test all of the code examples but they may contain errors. Any questions, comments, suggestions, or problems should be sent to info@plands.com.