@escape() Function |
![]() ![]() ![]() |
@escape() function converts the special XML characters into special entries. Syntax: @escape(string-expression[,chars-to-escape])
string-expression The string to escape the special characters chars-to-escape The special characters to escape. If omitted all of the & < > ' " characters are escaped into & < > ' "
Examples: @escape('<td width="120"/>') @// Result : <td width="120"/> @escape('<text>John & Sons</text>','&') @// Result : <text>John & Sons</text>
|