XML grammar rules

Time:2022-8-5

version: XML default version number, this attribute must exist

encoding: The encoding of this XML file

Other Components of XML

Annotation information can be defined in the XML file:

The following special characters can exist in an XML file

<  

&gt; &gt; greater than

&amp; &amp; ampersand

' ' apostrophe

&quot; &quot; quotation marks

A CDATA area can exist in the XML file: //Shortcut key in idea: enter CD