| Converts a string into a valid XML string. | 
| Syntax: | XMLVal(source string) | 
| Parameters: | source string – Any string value. | 
| Returns: | The function returns an Alpha string converted into a valid XML string. | 
| Exceptions: | This function is not supported for Rich Client tasks. | 
| Example: | XMLVal('<Hello " World>') returns '&It;Hello " World>' | 
| See also: | The Online Samples project (program XM21) |