Allows to codify the received text in several types of languages.
1 string.encode
<string.encode
type='type'
encoding='encoding'
>
<text /> !
</string.encode>
Attributes | |||||
---|---|---|---|---|---|
Name | Type | Required | Default | Description | |
Atype | string |
Indicates the coding type which you should use.
|
|||
Aencoding | string | Indicate the characters coding which should be used when the type is url.value. |
Arguments | |||||
---|---|---|---|---|---|
Name | Type | Required | Unique | Nullable | Description |
Etext | string |
Returns | |
---|---|
Type | Description |
string | The text in DOS format. |
Exceptions
unssuported string coding to ...
The coding type is not supported.
requires 1 arguments, received: ...
The entry parameter has not been specified.
Example
Visualize initial position of the last of the argument2 which can have in the argument1.
Copy
<xsql-script name='string_encode'> <args> <arg name='text' /> </args> <body> <!-- <b>hello</b> --> <println><string.encode type='html.text'><text /></string.encode></println> </body> </xsql-script>