2 <xsl:stylesheet version="1.0"
3 xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
5 <!-- this barely works -->
6 <xsl:template match="videodata">
7 <video controls="true">
8 <xsl:attribute name="src">
9 <xsl:value-of select="@fileref" />
12 <xsl:attribute name="src">
13 <xsl:value-of select="concat(substring-before(@fileref, 'ogg'),'png')" />
18 <xsl:attribute name="href">
19 <xsl:value-of select="@fileref" />
21 <xsl:text>Download Video</xsl:text>