adspace


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


Please Help Members By Posting Answers For Below Questions

Do you feel that you have chosen the right technology xslt? : xslt

902


Are you ready to relocate? : xslt

918


What are the ways to add styles to html?

996


Do you feel that you are a good xslt programmer? : xslt

868