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
What is xsd validation?
how to transform an XML file into HTML using XSL transformation (XSLT)?
In xml how can the user create code which contains content that would be ignored by the parser?
What is the function of keys in xsl?
How does stylesheet effects the overall template?
What is the function of qualified names?
What are the three components in soap?
How do I view an xml file?
Can we generate xsd from xml?
what is XLink and XPointer ?
What is targetnamespace in xsd file?
How do I set up google rss feed?
Xlink markup design?
What is xslt standard?
What are the advantages of xml over html?