Answer Posted / manoj joshi
W3C, in the XML specification, has defined certain rules
that need to be followed while creating XML documents. The
examples of such rules include: having exactly one root
element, having end-tag for each start- tag, using
single/double quotes for attribute values, and so on. If an
XML document follows all these rules, it is said to be well-
formed document and XML parsers can be used to parse and
process such documents.
Document Type Definitions (DTDs) or XML Schemas can be used
to define the structure and content of a specific class of
XML documents. This includes the parent-child relationship
details, attribute lists, data type information, value
restrictions, etc. In addition to the well-formedness
rules, if an XML document also follows the rules specified
in the associated DTD/Schema, it is said to be a valid XML
document. All valid XML documents are well-formed; but the
reverse is not always true, that is, well-formed XML
documents do not necessarily have to be valid.
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
Is there an xml version of html?
Why xml is needed?
What happens when firefox knows a web page has atom feeds?
Is xpath a programming language?
What are the elements of wsdl?
How do I associate an xml in excel?
What rss 2.0 files look like?
How xml makes your data more available?
What is xsl in html?
What is xml xsl?
Is api a web service?
What does soap stand for?
How do I get xml into or out of a database?
What's the best rss reader?
What is xmlns xs?