Experiment 8 Problem Statement
Write programs in Java to create three-tier applications using servlets for conducting online examination for displaying student mark list. Assume that student information is available in a database which has been stored in a database server.
XML DOCUMENT VALIDATION, PARSING AND XSLT PROCESSING
AIM
To write an XML program to create 10 student details and to validate using DTD and to parse the document using DOM PARSER and to transform the given XML document into HTML page using XSLT processing.
ALGORITHM
- Create an XML document "Student.xml" and enter 10 student details in it.
- Generate the DTD by right clicking on the "Student.xml" and selecting Generate DTD.
- Validate the given XML document using the generated DTD by right clicking on the "Student.xml" and selecting Validate XML.
- Create a DOM Parser for parsing the given XML document.
- Extract particular student details, given the rollno using DOM Parser.
- Convert the given XML document into HTML webpage using XSLT style sheet ("Student.xsl")