Home > Article > Backend Development > Detailed introduction to Mybatis's method of handling greater than and less than signs in Xml
The first type is to escape the characters
in the Mybatis configuration Xml file. Strictly speaking, The only characters "0965921bb5f2df9ef0e9dbbdd83db1ab ##Second Kind, CDATA CDATA refers to text data (Unparsed Character Data) that should not be parsed by the XML parser. Everything in the CDATA section is ignored by the parser. The CDATA part starts with
>
is greater than
##& &
and
' '
single quotes
" “
Double quotes
:
The CDATA part cannot containString"]]>". Nested CDATA sections are also not allowed. The "]]>" marking the end of the CDATA section cannot contain spaces or line breaks.
The above is the detailed content of Detailed introduction to Mybatis's method of handling greater than and less than signs in Xml. For more information, please follow other related articles on the PHP Chinese website!