Rules and regulations for XML document

Explain about the rules and regulations which should be followed when creating the well-managed XML document.

E

Expert

Verified

Following are the rules and regulations which is to be followed while preparing XML document:

a) A root element must be involved in order to enclose another child elements.
b) Each start tag should end with an end tag.
c) XML's empty tags are essential to close with a forward slash (/).
d) XML tags are case-sensitive; thus, start and end tags should be of same spelling and casing can also be the same.
e) XML's characteristics values are essential to enclose within the double quotation marks.
f) XML tags should be appropriately nested. This means that starting tags can be closed in the reverse order in which they present.

   Related Questions in DOT NET Programming

©TutorsGlobe All rights reserved 2022-2023.