File: Data.xml
some text
blue
red
more text
File: Transform.xslt
version="1.0">
Sample element
isn't empty.
Sample element
is empty.
Output:
Sample element
A
is empty.
Sample element
B
is empty.
Sample element
C
is empty.
Sample element
D
is empty.
Sample element
E
isn't empty.
Sample element
F
isn't empty.
Sample element
G
isn't empty.