Learning Object XML to XHTML Transformation
Stephen Downes
July 24, 2004
This page demonstrates an XML to XHTML transformation using a learning object file example provided by the SCORM Metadata Generator v1.0 by Captain Jeremy MacDonald, G3 Training Development, Combat Training Center Headquarters.
I have also obtained some work from Daniel Lemire, who has coded the XML and XSL necessary for quizzes. These files
are as follows:
Notes
- Tested in Internet Explkorer 6.0 and Firefox 0.9. It should work in other browsers, but I have no means of testing this.
- French-English toggle hasn't been completed.
- The following code needed to be placed at the top of the original XML file:
In a more ideal world, the viewer would load the XML from a remote location and apply the XSL to it. Still working on that.
- Additional content (eg., animations, images, videos) were referred to in the original XSL file, however, were not included in my test package and so are not displayed here.
- Firefox does not handle disable-output-escaping properly. This is a known issue.
- Some of the text is gibbled, mostly things like French accents, etc. This may be due to the XML file I am using, or it may be due to the encoding.