Substring-before() returns the substring of the first argument that precedes
File: Data.xml
Welcome to XSL world.
XSL
4
10
File: Transform.xslt
Text:
Text before
:
Text after
:
Text from position
:
Text from position
of length
:
Output:
Text: Welcome to XSL world.
Text before XSL: Welcome to Text after XSL: world.
Text from position 4: come to XSL world.
Text from position 4 of length 10: come to XS