Home > DeveloperSection > Interviews > What is a well-formed XML document?

Posted on    November-04-2011 4:09 AM

 1 Answer(s)
  1721  View(s)
Rate this:

Chintoo Semi

Total Post:79

Posted on    November-04-2011 12:00 AM

If a document is syntactically correct it can be called as well-formed XML documents. A well-formed document conforms to XML's basic rules of syntax:

  •     Every open tag must be closed.
  •    The open tag must exactly match the closing tag: XML is case-sensitive.
  •    All elements must be embedded within a single root element.
  •    Child tags must be closed before parent tags.
  •    A well-formed document has correct XML tag syntax, but the elements might be invalid for the specified      document type.

Don't want to miss updates? Please click the below button!

Follow MindStick