====== XML Technologies ====== This lecture covers XML and the host of technologies associated with it. Using XML tools you should be able to access an XML document, ensure it is well-formed and valid, process it, modify it, transform it, and then save or serve the new XML document. ===== Outline ===== * Overview of XML * Well-formed versus Valid * XML Schema: XSD * XML Parsers: DOM and SAX * XML Transformations * XML Style sheets: XSL and XPath * XSL and JSP See {{:xmltech.pdf|}} ===== To Do ===== * Read Section 9.5 * Read Chapter 7 * Look at ''Card*.xml/xsd'' in the //Resource Directory// as processed by programs ''DOM'' and ''Validate'' * Look at ''Modify'' and ''Tranform'' to see how trivial it is to modify and save XML documents. * Look at ''Xslt.java''. It implements the transformation given the xml/xsl pair and produces the output on standard output. * Look at the ''S?.xsl'' stylesheets one by one and in order. * SS.jspx implements the transformation at the server via JSP. * Sf.xsl has the same effect as S3.xsl except it exposes the declarative approach rather than the procedural one.