Nic Miloslav
Example 25***
Sometimes you want to output an element only if it has a value. Stylesheet 1 shows a way how to do it. Function normalize-space removes unsignificant spaces. Stylesheet 2 shows the output without empty elements removal.