| 9 Next | First| Previous | Introduction to XML |
|
XML is said to be "well formed" when all of the elements in the document are properly nested within each other. In other words, all elements within other elements must be closed before the outer elements can be closed off. The following is an example of well-formed XML: <p><emph>My name is <persName><foreName>Scott</foreName></persName></emph></p> The following is not well-formed: <p><emph>My name is <persName><foreName>Scott</persName></foreName></p></emph> Now check for well formedness. In oXygen, you can check to make sure your document is well-formed by clicking on the blue-check
at the top of the screen. |