## Syntax ```mermaid %%{init: { 'theme': 'base', 'flowchart': { 'padding': '7', 'nodeSpacing': '20', 'rankSpacing': '20' }, 'themeVariables': { 'fontSize': '11px', 'fontFamily': 'Arial' } }}%% flowchart LR Start((START)) --> XMLENCODE[XMLENCODE]:::quoted XMLENCODE --> End((END)) ``` ## Purpose The `XMLENCODE` SQL function returns the XML encoded input. Parameters: - Input: the input which will be encoded into XML. Returns: An object which is the XML encoded input.