WIT Lab Questions
WIT Lab Questions
9. Create a DTD to describe a bank that has one or more customers, accounts or Employee.
• Each Customer has a Customer ID, Name and address.
• Each account has an account ID, BranchID, CustomerID, AccountType and Balance.
• Each Employee has aEmpID, Name, Designation, DOJ, Salary and Address.
Use this DTD in a XML file.
10. Create a DTD to describe a library. Library has one or more books, members and staffs.
• Each book has BookID(Attribute), Title, one or more Authors, Publisher Year of
Publication, ISBN and Price.
• Each Member has MemeberID(Attribute), Name, Address, Phone number.
• Each Staff has StaffID(Attribute), Name, Address, Phone number.
• Each Author has AuthorID(Attribute), Name, Address, Phone number.
• Each Publisher has PublisherID(Attribute), Name, Address, Phone number.
Use it in a XML document.