What is valid xml document? What a well formed xml document?
Answer Posted / ashwini
A valid XML document is the one which conforms to all the
rules stated in its associated DTD or a schema as well as
it is well formed.
A well formed XML document fullfills the following
conditions:
1. All opened tags are closed.
2. Tags are properly nested
3. Attribute values are enclosed in double quotes.
4. Tags follow proper casing. Opening tag & its
corresponding closing tag must be written in the same way.
e.g. <NAME>ABC</NAME> is well formed. Whereas
<NAME>ABC</Name> is not well-formed.
Is This Answer Correct ? | 31 Yes | 4 No |
Post New Answer View All Answers
Why are special attributes used to declare xml namespaces?
How do you make an rss feed?
What I XMLA?
How do I convert a pdf to xml?
What is the full form of xsl?
What is the function of smon?
How do I edit an xsl file?
What is the icon for atom syndication?
Explain about dom interface?
What is difference between xml and xsd?
How do I open an xml file in excel?
What are the parsers are supported in xml?
What are the elements of xml?
Explain about xml data binding?
How to perform XML transformation in Java?