When formatting XML documents using XSLT, you sometimes want to output! [CDATA []> the content node has the advantage that the content in CDATA does not need to be escaped and can be stored in the XML document as is without ambiguity. However, you cannot directly use the CDATA node in XSLT for output formatting, because XSLT outputs the content as is, and you cannot insert any labels for operations and values, for example, <XSL: value-of>.
For more information, see the description in w3schoold: http://www.w3school.com.cn/#/el_output.asp. you can specify the name of the node to be output as the CDATA part in the <XSL: output> node and use it directly in XSLT. For example:
<XSL: OutputMethod= "XML"Indent= "Yes"CDATA-section-Elements= "NOTE"/>
Then you can directly reference it in the document:
<Note><XSL: value-Select= "."/></Note>
XSLT automatically places the output content to the CDATA node.