The second lesson XML syntax (original black flash) Today, start, XML grammar learning, the Dongdong is too important. First, mark syntax 1 XML tag is responsible for providing and describing an XML file or packet content structure XML tag is Sensitive cases are sensitive, that is, case is not one thing. 2, character xml specified characters all define 3 in 16-bit Unicode character sets 3, and the structure used in XML is almost always named. The second document is a format formatted XML file consisting of three parts that make up an optional preface document.
Preface ----------------------- XML Version = "1.0"?> ----- -----------------------------------------
Main body -----------------------
Ending --------------------------------------------------- ---------- Element 1, the element is the basic component of the XML mark, which can contain other elements, character data, character reference, entity reference, PI, and comment elements to separate, > Eating element type The full element Content a tag>