Example Analysis of xml Grammar
This article mainly shows you the "sample Analysis of xml Grammar", which is easy to understand and clear. I hope it can help you solve your doubts. Let the editor lead you to study and learn the article "sample Analysis of xml Grammar".
I. document rules
1. Case sensitive.
two。 Attribute values must be enclosed in quotation marks (single or double quotation marks are fine). In general, double quotation marks are recommended.
3. All marks must have a closing symbol.
4. All empty tags must be closed.
5. Must have one and only one element.
6. When parsing white space characters, it is output according to the actual content and will not be abbreviated.
7. Special character handling:
Character substitution character
>
& &
"& quto
'& apos
8. Tag name convention:
a. Can contain letters, numbers, and other characters.
b. Cannot start with a number and an underscore.
c. Cannot start with a character such as xml or Xml.
d. Cannot contain spaces
II. Xml statement
Xml declares standard statements:
Emphasize:
1. "".
The above is all the content of this article "sample Analysis of xml Grammar". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!