The <pc:if> directive introduces script sections that execute only if a given condition applies.
The value of the required test attribute evaluates to a boolean. If it evaluates to true() according to the rules of the xslutil:test() Blend function, the content of the required <pc:then> child element is processed. If it evaluates to false(), the content of the optional <pc:else> element is processed if it exists.
If you omit the <pc:else> element, you can write the construct in a more compressed format by using pc:if-then.
The element <PrintThis/> is written to standard output in:
The element <PrintThat/> is written to standard output in: