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

What is meant by xslt?

460


What is XSLT data model?

537


How do I remove rss feeds from outlook 365?

445


What is a pdf xml file?

477


How to validate an atom 1.0 feed file?

441






What is schemalocation in xml?

446


How do you convert xsd to xslt?

468


What is xsl fo documents? Explain xsl-fo documents structure?

410


How you can enhance your XSL test?

508


What is the difference between xsl and xsd?

447


What is the xml tag?

458


Describe xpath.

479


Which XML is set to be valid XML?

488


How are documents accessed and manipulated in xml?

455


What is wsdl used for?

463