Describe the rules and regulations that must be followed while creating a well-formed XML document.

Answer

The following are the rules and regulations that are necessary to follow while creating a well-formed XML document:
-Every start tag must end with an end tag.
-A root element should be included for enclosing other child elements.
-XML tags are case-sensitive; therefore, start and end tags must be of same spelling and the casing should also be the same.
-XML's empty tags are necessary to close with a forward slash (/).
-XML's attributes values are necessary to enclose within double quotation marks.
-XML tags must be properly nested. It means starting tags should be closed in the reverse order in which they present.

All xml Questions

Ask your interview questions on xml

Write Your comment or Questions if you want the answers on xml from xml Experts
Name* :
Email Id* :
Mob no* :
Question
Or
Comment* :
 





Disclimer: PCDS.CO.IN not responsible for any content, information, data or any feature of website. If you are using this website then its your own responsibility to understand the content of the website

--------- Tutorials ---