XMLDECODE
Syntax
%%{init: {
'theme': 'base',
'flowchart': { 'padding': '7', 'nodeSpacing': '20', 'rankSpacing': '20' },
'themeVariables': {
'fontSize': '11px',
'fontFamily': 'Arial'
}
}}%%
flowchart LR
Start((START)) --> XMLDECODE[XMLDECODE]:::quoted
XMLDECODE --> End((END))
Purpose
The XMLDECODE SQL function returns the XML decoded input.
See also XMLCOMMENT, XMLELEMENT, XMLENCODE, XMLFORMAT and XMLTRANSFORM.
Parameters:
- Input (
varchar2): the input which will be decoded into XML.
Returns: An object which is the XML decoded input.
Examples
The following example decodes the XML encoded text John & CO:
select xmldecode('John & CO')
-------------------
John & CO
The following example decodes the XML encoded text 65/20<5%:
select xmldecode('65/20<5%')
-------------------
65/20<5%