Mega Code Archive
Categories
/
XML Tutorial
/
XSLT StyleSheet
Starts-with() returns true if the first argument string starts with the second argument string
File: Data.xml
Welcome to XSL world.
Welcome
XSL
XML
File: Transform.xslt
string
starts-with
contains
Output:
Welcome to XSL world.
string
starts-with
contains
Welcome
true
true
XSL
false
true
XML
false
false