5. Pipeline Detail
The Pipelines that generate this presentation; dynamically or statically
Produces the Index of available presentations
<map:match pattern="index.html"> <map:generate type="directory" src="presentations"/> <map:transform src="stylesheets/dir-to-html.xsl"> <map:parameter name="baseDir" value="presentations"/> </map:transform> <map:serialize type="html"/> </map:match>
Produces the Raw ASCII data of a complete presentation
<map:match pattern="presentations/**/txt/presentation.html">
<map:read src="presentations/{1}.txt" mime-type="text/plain"/>
</map:match>
Produces the XML data of a complete presentation
<map:match pattern="presentations/**/xml/presentation.html">
<map:generate type="slop"
src="presentations/{1}.txt">
<map:parameter name="encoding" value="iso-8859-1"/>
<map:parameter name="preserve-space" value="true"/>
</map:generate>
<map:transform src="stylesheets/filter-slop-output.xsl"/>
<map:serialize type="xml"/>
</map:match>
Produces the XML data of a single slide
<map:match pattern="presentations/**/xml/slide-*.html">
<map:generate src="cocoon:/presentations/{1}/xml/presentation.html"/>
<map:transform src="stylesheets/select-slide.xsl">
<map:parameter name="slideId" value="{2}"/>
</map:transform>
<map:serialize type="xml"/>
</map:match>
Produces the Index (list of slides) of a presentation
<map:match pattern="presentations/**/html/index.html">
<map:generate src="cocoon:/presentations/{1}/xml/presentation.html"/>
<map:transform src="stylesheets/html-index.xsl"/>
<map:serialize type="html"/>
</map:match>
Produces a Single slide or full presentation in HTML
<map:match pattern="presentations/**/html/*.html">
<map:generate src="cocoon:/presentations/{1}/xml/{2}.html"/>
<map:transform src="stylesheets/html-slides.xsl"/>
<map:serialize type="html"/>
</map:match>
Simple Line Oriented Parser
Yet Another Presentation Tool