Mega Code Archive
An example of if-then-else logic in XSLT 1 0
File: Transform.xslt
An example of if-then-else logic in XSLT 1.0:
If $x is larger than 10, print 'Big',
otherwise print 'Little'
Big
Little
Output:
An example of if-then-else logic in XSLT 1.0:
If $x is larger than 10, print 'Big',
otherwise print 'Little'
Little