|
Property "Display Precondition" <test> |
|
|
Display Precondition Property is used to define the display condition for a Condition Element. The expression defined for this property is evaluated either at compile time or at run time depending on the value of the "Generate Condition As" property of the Condition Panel Element that the condition is residing in. If the value of "Generate Condition As" property is: "xsl:when" The expression is evaluated at the run time by a XSLT Processor. The first Condition Element whose "Display Precondition" expression returns true, is chosen as the element to be displayed and the other Condition elements are ignored. since the expression is evaluated by XSLT processor, it must conform to XSL semantics. See below how a Display Precondition expression is converted to XSL statements.
Please refer to your XSL guide for more information about xsl:choose and xsl:when usage. "div" If the value of "Generate Condition As" property is "div", the content of the condition will be enclosed with HTML <div> tags. The expression is assumed as a compile time expression that is used in compile-time functions and evaluated at compile time. If the result of the evaluation is true then the HTML div element will be initially visible. See Condition Panel.
|