pc:if-then |
Subjects a script section to a condition. If the condition is met, the section is executed, otherwise it is not. Syntax The required test evaluates to a boolean. Only if it evaluates to true() according to the rules of the xslutil:test() Blend function is conditional-content processed. If you want to specify not only a then clause but also an else clause, use pc:if instead.
Examples The element <PrintThis/> is written to standard output in:
The element <PrintThis/> is NOT written to standard output in:
See also |