Mega Code Archive
Normalize-space() returns the argument string with white space normalized by stripping leading and trailing whitespace and
File: Data.xml
Normalized text
Sequences of whitespace characters
Leading and trailing whitespace.
File: Transform.xslt
|
Starting length: |
|
Normalized length: |
|
Output:
Normalized text |
---|
Starting length: | 15 | Normalized length: | 15 |
Sequences of whitespace characters |
---|
Starting length: | 41 | Normalized length: | 34 |
Leading and trailing whitespace. |
---|
Starting length: | 40 | Normalized length: | 32 |