This course provides a complete introduction to XM, the Java XML APIs, XPath, and XSLT. The course is a balanced mixture of theory and practical labs, designed to take students from the basic fundamentals of XML, providing mastery of the standard Java XML APIs, and moving on to advanced topics of XPath and XSLT. The students are walked through the different standards in a structured manner, to enable them to master the concepts and ideas, which are reinforced in the lab exercises.
The course starts with the fundamentals of XML including document structure, and XML Schema. It then moves on to the basic relationship between Java and XML, including generating XML from Java and the mapping between Java and XML objects. Finally, students are taken through a detailed and hands-on examination of the two main JAXP APIs – SAX 2.0 and DOM 2.0. It then moves on to the XPath and XSLT standards, and how to use them to transform XML documents into other documents such as HTML documents or other XML documents..
Understand what XML is, why it is useful, and how it is used
Understand the rules of XML and use the building blocks of XML to create well-formed XML documents
Create schemas for XML documents
Understand and use XML namespaces
Understand what an XML parser is and how to use one
Understand the different models of parsing XML documents (push, pull, and tree-based parsers)
Use SAX and DOM to parse XML documents
Be familiar with the StAX and JDOM parsers
Use JAXP initiate parsing
Learn to use XPath and XSLT for selecting/transforming XML documents
Use XPath to precisely locate and select portions of an XML document
Use XSLT to transform the selected XML into another form - XML, HTML, or some other data format