Mega Code Archive
Categories
/
XML Tutorial
/
XSLT StyleSheet
Use string-length function in math calculation
File: Data.xml
4
3.2
11
File: Transform.xslt
3.2 + string-length("3.2") =
Output: 3.2 + string-length("3.2") = 6.2