Returns a text or string resulting of the substitutions of the indicated arguments. The arguments of reference according to its ordinary order (starting by 0), the first argument is referenced by {0}, the second by {1}, etc. The text which should be format is passed through the attribute format. If one of the arguments is not found, it is not replaced and if more arguments are passed than have to be replaced, they are ignored.

1 string.messageFormat

<string.messageFormat format='format'>
    <value /> +

This example shows how to replace two argument in the text to format.

<xsql-script name='string_format'>
        <!-- The disk arg2 contains arg1 file(s) -->
            <string.messageFormat format='The disk {1} contains {0} file(s)'>


The disk arg2 contains arg1 file(s)