What is valid xml document? What a well formed xml document?

Answers were Sorted based on User's Feedback



What is valid xml document? What a well formed xml document?..

Answer / 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

What is valid xml document? What a well formed xml document?..

Answer / sarankumarreddy.c

If XML is confirming to DTD rules then it's a valid XML.
If a XML document is conforming to XML rules (all tags
started are closed,there is a root element etc)then it's a
well formed XML.

Is This Answer Correct ?    12 Yes 4 No

Post New Answer

More XML XSLT RSS Interview Questions

How do I find my rss feed url?

0 Answers  


Why is xml used?

0 Answers  


How to tell web browsers that your web pages have atom feeds?

0 Answers  


What happens if your atom feed fails the validation?

0 Answers  


What is an rss email?

0 Answers  






How do I identify the document type of an xml document?

0 Answers  


Are atom feed files xml documents?

0 Answers  


How do I download an xml file?

0 Answers  


What are xml attributes? Explain with an example.

0 Answers  


Where is my rss feed?

0 Answers  


How do I open an xsl file?

0 Answers  


What is an xml template?

0 Answers  


Categories