|
Property "Display If" <dispif> |
|
|
"Display If" Property is used to define a display precondition for an Element. The XSL expression defined in this property is evaluated at run time and if result is true then the element takes place in the HTML output. If the width or the height of the element is equal to its parent then the space of the element is also eliminated. Examle: The text elements with color pink have a condition which will not be satisfied.
Since the widths of the elements in the left block are equal to their parents the elements and the spaces they occupy will be completely eliminated whereas the space the elements in the right block occupy is kept. See the result below.
Used In Elements
|