Use app×
Join Bloom Tuition
One on One Online Tuition
JEE MAIN 2025 Foundation Course
NEET 2025 Foundation Course
CLASS 12 FOUNDATION COURSE
CLASS 10 FOUNDATION COURSE
CLASS 9 FOUNDATION COURSE
CLASS 8 FOUNDATION COURSE
0 votes
906 views
in Computer by (75.2k points)

What is the difference between a valid XML document and a "well formed" XML document?

1 Answer

+1 vote
by (69.0k points)
selected by
 
Best answer

A well formed XML document contains text and XML tags which confirm with the XML syntax.

Valid XML documents must be well formed and are additionally error checked against a DTD.

< ?xml version = "1.0" encoding = "ISO-8859-1'

?>

<! DOCTYPE employee SYSTEM "emp-dtd">

<employee>

<name> Rekha </name>

<empid> 6098 </empid>

< designation> Manager </designation>

</employee>

A valid document is used when documents require error checking, and many documents need to follow the same guidelines.

Related questions

0 votes
1 answer
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer
asked Nov 27, 2018 in Computer by pinky (75.2k points)
0 votes
1 answer
asked Nov 27, 2018 in Computer by pinky (75.2k points)

Welcome to Sarthaks eConnect: A unique platform where students can interact with teachers/experts/students to get solutions to their queries. Students (upto class 10+2) preparing for All Government Exams, CBSE Board Exam, ICSE Board Exam, State Board Exam, JEE (Mains+Advance) and NEET can ask questions from any subject and get quick answers by subject teachers/ experts/mentors/students.

Categories

...