XML attribute order

Source: Internet
Author: User
Tags xml attribute
Atrributes is unordered, that is, the Attributes of the same Element is unordered to each other (see section 1.0 of the XML 3.1 standard ). Many situations have been encountered during use. When parsing XML documents, it is assumed that the parser will first process an Attribute and then process another one. This assumption is not true.
It is worth noting that the three Attributes (version, encoding, and standalone) of the XML declaration (XML declaration) must appear in order (if so), as shown below:
XMLDecl: = '<? Xml 'versioninfo EncodingDecl? SDDecl? S? '?> '

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.