Skip to content

Latest commit

 

History

History
13 lines (12 loc) · 887 Bytes

File metadata and controls

13 lines (12 loc) · 887 Bytes

XML Basics

Homework

  1. What does the XML language represent? What is it used for?
  2. Create XML document students.xml, which contains structured description of students.
  • For each student you should enter information for his name, sex, birth date, phone, email, course, specialty, faculty number and a list of taken exams (exam name, tutor, score).
  1. What do namespaces represent in an XML document? What are they used for?
  2. Explore http://en.wikipedia.org/wiki/Uniform_Resource_Identifier to learn more about URI, URN and URL definitions.
  3. Add default namespace for students "urn:students".
  4. Create XSD Schema for students.xml document.
  • Add new elements in the schema: information for enrollment (date and exam score) and teacher's endorsements.
  1. Write an XSL stylesheet to visualize the students as HTML.
  • Test it in your favourite browser.