Mega Code Archive
Categories
/
XML
/
XSLT StyleSheet
Count tokens
File: Data.xml
this is a test
File: Transform.xslt
String handling
The sentence: '
' has
words.
Output:
String handling
The sentence: ' this is a test ' has 4 words.