OpenGL: origami
Annotate for file /video.xsl
2009-07-06 tobias 1 <?xml version='1.0'?>
21:51:20 ' 2 <xsl:stylesheet version="1.0"
' 3 xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
' 4
' 5 <!-- this barely works -->
' 6 <xsl:template match="videodata">
' 7 <video controls="true">
' 8 <xsl:attribute name="src">
' 9 <xsl:value-of select="@fileref" />
' 10 </xsl:attribute>
' 11 <img>
' 12 <xsl:attribute name="src">
' 13 <xsl:value-of select="concat(substring-before(@fileref, 'ogg'),'png')" />
' 14 </xsl:attribute>
' 15 </img>
' 16 <p>
' 17 <a>
' 18 <xsl:attribute name="href">
' 19 <xsl:value-of select="@fileref" />
' 20 </xsl:attribute>
' 21 <xsl:text>Download Video</xsl:text>
' 22 </a>
' 23 </p>
' 24 </video>
' 25 </xsl:template>
' 26
' 27 </xsl:stylesheet>