An XML document must have a single root element that encloses all other elements. This means that the fragment below can't be a well-formed XML document as it stands:
Q. How could you correct the fragment above so that it becomes a well-formed XML document?
The Fragment has 2 Root elements which is not a right syntax format for XML Document. To correct the fragment i have to remove the starting element and the end element that is being embodied in the middle of the XML Document. By doing so the fragment becomes a well-formed XML Document
ReplyDelete