XML Basics
XML Basics
Objective
- Introduction to the XML language: a meta-language exploited to describe document
- The XML DTD to describe the language grammar
- The XML Schema instead of DTD
- Elaborating XML documents with Java
- The XHTML language
- Exercises
Theory
- See also W3C XML Technology and the XML tutorial here
- The XHTML Language
- See also the tutorial here and here
- The PDF files were prepared by Prof. Enrico Lodolo
Exercises
- Exercise 1: By exploiting the
- See also the Apache documentation for the CGI support in Tomcat
- Exercise 2: Build a XML file and its grammar to represent the phone book of Lab 1
- Exercise 2.1: Experiment XML with CSS through the tutorial with your browser acting the transformation Build a CSS file for the XML phone book
- Exercise 2.2: Experiment XML with XSLT through the tutorial with your browser acting the transformation Build a XSLT file to transform the XML phone book in a HTML representation
- Exercise 3: Experiment SAX and DOM Java parser to read the XML phone book