Fwd: [docbook-apps] XSL customization for HTML output (<EMBED>)

From
Sristan Giedler
Date
2005-01-21T19:14:36+00:00
ID
Thread
Fwd: [docbook-apps] XSL customization for HTML output (<EMBED>)
If the DocBook gurus could please reply to this below, I would really 
appreciate it.  I have given DocBook a solid recommendation at my 
institute :)

TF

> From: "Tristan Fiedler" <>
> Date: January 19, 2005 4:05:08 PM EST
> To: "docbook-apps" <>
> Subject: [docbook-apps] XSL customization for HTML output (<EMBED>)
>
> Hi All,
>
> I have tested a variety of combinations of contentdepth, contentwidth, 
>  depth, width, scale, scalefit, etc. attributes for the videodata 
> element shown below with no luck.
>
> <!ENTITY video1 SYSTEM "/Mosaics/test_quicktime.mov" NDATA MOV>
>  ...
>  <mediaobject>
>                         <videoobject role="html">
>                                  <videodata entityref="video1"/>
>                         </videoobject>
>                 </mediaobject>
>
> I want my HTML output to be :
>
> <OBJECT CLASSID="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" 
>  WIDTH="375"HEIGHT="400"
> CODEBASE="http://www.apple.com/qtactivex/qtplugin.cab">
>  <PARAM name="SRC" VALUE="file:/Mosaics/test_quicktime.mov">
>  <PARAM name="AUTOPLAY" VALUE="true">
> <PARAM name="CONTROLLER" VALUE="true">
> <PARAM name="LOOP" VALUE="TRUE">
> <PARAM name="SCALE" value="ASPECT">
> <div class="mediaobject">
>              <embed src="file:/Mosaics/test_quicktime.mov"
>                   width="375" height="400" scale="aspect" 
> autoplay="true" 
>  controller="true" loop="true"
>                  
> PLUGINSPAGE="http://www.apple.com/quicktime/download/">
>              </embed>
>            </div>
>  </OBJECT>
>
> rather than the "default"  of :
>
>           <div class="mediaobject">
>              <embed 
> src="file:/Users/fiedler/Celegans_DocBook/Samples/Mosaics/
> test_quicktime.mov"></embed>
>           </div>
>
> How can the stylesheets be modified to do this
>
> 1. set the width, height, scale, autoplay, controller & loop 
> attributes 
> for the <embed> element
>  2. include all of the information for the <OBJECT> element.
>
>
>
> Cheers,        Tristan
>  ------------------------------
>  Tristan J. Fiedler
>  Postdoctoral Fellow - Stein Lab
>  Cold Spring Harbor Laboratory