Documentazione Invantiveparte di invantive cloud
Forum di supporto InvantiveAccedi / Registrati

XMLENCODE

Sintassi

%%{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))

Scopo

La funzione SQL XMLENCODE restituisce l'input codificato in XML.

Vedi anche XMLCOMMENT, XMLDECODE, XMLELEMENT, XMLFORMAT e XMLTRANSFORM.

Parametri:

  • Input (varchar2, decimal o datetime): l'input che verrà codificato in XML.

Restituisce: un oggetto che rappresenta l'input codificato in XML.

Esempi

L'esempio seguente codifica il testo John & CO:

select xmlencode('John & CO')

-------------------
John & CO

L'esempio seguente codifica il testo 65/20<5%:

select xmlencode('65/20<5%')

-------------------
65/20&lt;5%