This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
[docbook-apps] XSL customization for HTML output (<EMBED>)
- From: Tristan Fiedler <fiedler at cshl dot edu>
- To: docbook-apps <docbook-apps at lists dot oasis-open dot org>
- Date: Wed, 19 Jan 2005 16:05:08 -0500
- 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