title: XSL html5 embed video not working
body: <p>can some one help me ? i'm new to xsl/xml processes and i'm not sure what i do wrong...
  I have this code that generates a html with a video in it:</p>
  
  <pre><code>&lt;xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xalan="http://xml.apache.org/xalan" extension-element-prefixes="xalan" exclude-result-prefixes="xalan"&gt;
  
      &lt;xsl:variable name="StyleSheet"&gt;&lt;xsl:text&gt;html&lt;/xsl:text&gt;&lt;/xsl:variable&gt;
      &lt;xsl:variable name="product" select="//...//someting..."/&gt;
      &lt;xsl:template match="/"&gt;
      &lt;html&gt;
       &lt;head&gt;
        &lt;title&gt;&lt;xsl:value-of select="$product"/&gt;&lt;/title&gt;
         &lt;BASE HREF="https://....com"/&gt;
         &lt;LINK REL="stylesheet" TYPE="text/css" HREF="/style/rbc_new.css"&gt;
         &lt;/LINK&gt;
       &lt;/head&gt;
  
       &lt;body bgcolor="white"&gt;
         &lt;DIV&gt;
          &lt;table width="670" border="0" bgcolor="#ffffff"&gt;
           &lt;tr&gt;
            &lt;td&gt;
      &lt;!--
             This type of report is not available in HTML format. Please check the PDF version.
      --&gt;
      VIDEO UPLOADED *:
            &lt;/td&gt;
           &lt;/tr&gt;
  
                                          &lt;tr&gt;
                                              &lt;td valign="top" class="rbc_color1_font_10"&gt;
  
                                                  &lt;xsl:variable name="video" select="concat(some file)"/&gt;
                                                  &lt;xsl:variable name="video2" select="other file"&gt;
  
   &lt;!--  THIS IS FOR Html4 &amp; older versions and this one works --&gt;
  
      &lt;object classid="clsid:22D6F312-B0F6-11D0-94AB-0080C74C7E95" width="480" height="360" codebase="http://www.microsoft.com/Windows/MediaPlayer/"&gt;
      &lt;param name="Filename" value="{$video}"/&gt;
      &lt;param name="AutoStart" value="false"/&gt;
      &lt;param name="ShowControls" value="true"/&gt;
      &lt;param name="BufferingTime" value="2"/&gt;
      &lt;param name="ShowStatusBar" value="true"/&gt;
      &lt;param name="AutoSize" value="true"/&gt;
      &lt;param name="InvokeURLs" value="false"/&gt;
      &lt;embed src="{$video}" type="application/x-mplayer2" autostart="0" enabled="1" showstatusbar="1" showdisplay="1" showcontrols="1" pluginspage="http://www.microsoft.com/Windows/MediaPlayer/" CODEBASE="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,0,0,0" width="480" height="360"&gt;&lt;/embed&gt;
      &lt;/object&gt;  
      &lt;!--this is for html5 and this one does not work --&gt;
      &lt;video width="320" height="240" controls&gt;
         &lt;source src="{$video}" type="video/mp4"&gt;
          Your browser does not support the video tag.
       &lt;/video&gt; 
          &lt;/td&gt;
  </code></pre>
  
  <p>What am i doing wrong ? Should i put the XSL version like this,to work with html5(does it has any effect?) and it will still run the html4 types right??: </p>
  
  <pre><code>&lt;xsl:output
       method="xml"
       doctype-system="about:legacy-compat"
       encoding="UTF-8"
       indent="yes" /&gt;
  </code></pre>
  
  <p>Thank you in advanced.</p>