A well formed XML document defines that the document does not have any error or it has followed proper XML syntax. In other word, if the tags in a document are created accurately or build in correct formed and follow the XML guideline, then a document is considered as well formed. In order to do pass the document to the application it should be in well formed otherwise XML parser stops it from doing application. In order to be well formed, it should contain a prolog (optional), a document element and a miscellaneous section (optional). There are few different points that need to be fulfilled to achieve well formed XML document like XML is case sensitive so the tags used should be similar in case, every opening tags should have its closing tags, etc.
No comments:
Post a Comment