XMLENCODE
Syntaksi
%%{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))
Tarkoitus
The XMLENCODE SQL function returns the XML encoded input.
See also XMLCOMMENT, XMLDECODE, XMLELEMENT, XMLFORMAT and XMLTRANSFORM.
Parametrit:
- Input (
varchar2,decimalordatetime): the input which will be encoded into XML.
Returns: An object which is the XML encoded input.
Esimerkkejä
The following example encodes the text John & CO:
select xmlencode('John & CO')
-------------------
John & CO
The following example encodes the text 65/20<5%:
select xmlencode('65/20<5%')
-------------------
65/20<5%