Remove possible accents which can provoke conflicts in XML texts.
1 string.noaccents
<string.noaccents>
<text /> !
</string.noaccents>
Arguments | |||||
---|---|---|---|---|---|
Name | Type | Required | Unique | Nullable | Description |
Etext | string | Value which should be replaced in the text, in the corresponding position. |
Returns | |
---|---|
Type | Description |
string | Returns the string resulting of remove the accents of the text. |
Exceptions
requires 1 arguments, received: ...
The entry parameter has not been specified.
Example
Copy
<xsql-script name='string._noaccents_sample1'> <body> <set name='text'>these: áéíóúàèìòù-ÁÉÍÓÚÀÈÌÒÙ are the accented vowels. </set> <println> <string.noaccents><text /></string.noaccents> </println> </body> </xsql-script>
Returns:
Copy
these: aeiouaeiou-AEIOUAEIOU are the accented vowels.