XMLCOMMENT
구문
%%{init: {
'theme': 'base',
'flowchart': { 'padding': '7', 'nodeSpacing': '20', 'rankSpacing': '20' },
'themeVariables': {
'fontSize': '11px',
'fontFamily': 'Arial'
}
}}%%
flowchart LR
Start((START)) --> XMLCOMMENT[XMLCOMMENT]:::quoted
XMLCOMMENT --> End((END))
목적
The XMLCOMMENT SQL functions formats a text as an XML comment.
참고: XMLDECODE, XMLELEMENT, XMLENCODE, XMLFORMAT 및 XMLTRANSFORM.
매개변수:
- Input (
varchar2): the input which will be formatted as XML comment.
Returns: A text with the input as XML comment.
예시
The following example formats the text a -b c as an XML comment:
select xmlcomment('a -b c')
-------------------
<!-- a -b c -->
The following example formats the text a --b c as an XML comment, separating the double hyphen which is not allowed within an XML comment:
select xmlcomment('a --b c')
-------------------
<!-- a - -b c -->