Documentation Invantiveune partie de Invantive cloud
Forums d'Invantive SupportConnectez-vous/inscrivez-vous

XMLDECODE

Syntaxe

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

Objet

La fonction SQL XMLDECODE renvoie la donnée d'entrée décodée au format XML.

Voir aussi XMLCOMMENT, XMLELEMENT, XMLENCODE, XMLFORMAT et XMLTRANSFORM.

Paramètres :

  • Élément varchar2 : l'élément qui sera décodé au format XML.

Retourne : un objet correspondant à l'entrée décodée au format XML.

Exemples

L'exemple suivant décode le texte encodé en XML John & CO :

select xmldecode('John & CO')

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

L'exemple suivant décode le texte encodé en XML 65/20<5% :

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

-------------------
65/20<5%