Posted in All Posts, Semester 2

Sem 2 – DHTML & XML Unit 3 Programs

DHTML & XML – DYNAMIC HTML & XML

Unit 3 – Related to XML Basics

1. Create simple XML document template to describe a Books with book title, author name & publication.
Download | View Code

2. Create an XML document template to describe the result of student in an examination. The description should include the student’s roll number, name, three subject names and marks, total marks, percentage, and result.
Download | View Code

3. Suppose we want to store information regarding in Prescribed format in XML.
For example.

Title Description
Employee id X3434
Employee name XYZ
Employee Department Account
Role Manager

Download | View Code

4. Write a program to demonstrate comment of XML.
Download | View Code

5. Write program to demonstrate how to add attribute and Entity in XML document.
Download | View Code

6. Create External DTD declaration for BOOKs XML document.(Element type declaration)
DTD File – Download | View Code
XML File – Download | View Code

7. Create an internal DTD for Employee XML document.
Download | View Code

8. Write a program to demonstrate following concepts.

Neither Well-formed nor valid. Download View Code
Not well-formed, but valid document. Download View Code
Well-formed, but not valid document. Download View Code
Well-formed and Valid Document. Download View Code
Download Zip

Download All

We hope that you found this article to be helpful.
Please share your thoughts in the Comments Section.

If you liked this article, then please like our Facebook page.

Suggested Reading

Comment your thoughts