What is valid xml document? What a well formed xml document?
Answers were Sorted based on User's Feedback
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
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|
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|
I keep hearing about alternatives to dtds. What’s a schema?
Describe the role that XSL can play when dynamically generating HTML pages from a relational database.
What is DOM and how does it related to XML?
How to use filtering in XSLT?
When should I use the default xml namespace instead of prefixes?
What is XML data binding? Why is it used?
State and explain about xml encoding errors?
Using XSLT, how would you extract a specific attribute from an element in an XML document?
Write a program that shows the elements of the stylesheets?
Can we encode mathematics using XML?
Explain how to remove a particular attribute from XML?
What is Use of Template in XSL?