Mega Code Archive
Categories
/
XML Tutorial
/
XSLT StyleSheet
If you want to pass a variable, you have to define this variable with xsl
File: Data.xml
1
3
4
17
8
File: Transform.xslt
odd
even
(
)
Output:
1 (odd)
3 (odd)
4 (even)
17 (odd)
8 (even)