Using XSLT to make a presentation from an outline

Instead of Powerpoint slides, it would be a good demonstration for a class on practical XSLT to show how XSLT is used to create a presentation.

Goals

Creating HTML output
How to use recursion
How to use Xalan's redirect extension

Outline Processing Markup Language

Internal file format used by the Radio Userland application
Created by Dave Winer: developer of More, Think Tank, and Frontier.
http://radiodiscuss.userland.com/opmlSpec

Outline Element Contents

Text attribute
Type attribute
Outline elements
The outline

Want to display while maintaining the hiearchical structure

Use recursion

Two states

The outline has child elements
The outline has no child elements
The style sheet

Want to break document up

Use the Xalan redirect extension function
At each major section, redirect output to a new file
Use the position() function to determine the file name
The style sheet