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
How dtd is different from xml?
Why xml was created?
What is xslt explain with example?
Can the content model in an element type declaration contain element types whose names come from other xml namespaces?
What is the difference between xml and http?
How do I create an xml file format?
What is xml feed url?
Define structure of xml?
Does chrome have an rss reader?
Define xpath? And what is xslt?
Which XML is set to be valid XML?
How do I convert a pdf to xml?
How are web feeds read?
Does xml replace html?
How many document types are defined for atom feed files?