xml2all.xsl 686 Bytes
<xsl:stylesheet version="1.0" 
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:php="http://php.net/xsl">

<xsl:output method="text"/>

<xsl:template match="/timetable">
#Time Table generated by AMDA @ CDPP;
#Description: <xsl:value-of select="description"/>;
#Historic: <xsl:value-of select="history"/>;
#Creation Date :  <xsl:value-of select="created"/>;
#<xsl:text>&#10;</xsl:text>
    <xsl:for-each select="intervals">
         <xsl:value-of select="php:function('timeFormat', string(start))"/><xsl:text> </xsl:text><xsl:value-of select="php:function('timeFormat', string(stop))"/>
         <xsl:text>&#10;</xsl:text>  
    </xsl:for-each>
</xsl:template>  
</xsl:stylesheet>