OpenWGA 7.1 - WebTML reference

WebTML tags » [All tags]

<tml:[All tags] trim ="true | false | 0 | 1 | t | f">


Removes leading and trailing whitespace from the tag output


Invisible characters that merely provide formattings, like spaces, carriage returns and tabs, are regarded "whitespace".

This attribute is only effective on output. Therefor it has no effect if output is supressed, like when storing a WebTML variable.

Default value:



Some WebTML code with a range, containing whitespace before and after the text:

#<tml:range trim="true">

This is a text with much whitespace


The following output is produced because of trim="true":

#This is a text with much whitespace#

Whitespace before and after the text is removed (therefor the hash signs directly enclose the text). But whitespace inside the text remains untouched.