[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook-apps] DocBook - Flash in HTMLhelp
Bob That is what I was looking for. My needing solved parameter and XSL customization. <xsl:template match="videodata[@format='SWF']"> <xsl:element name="OBJECT"> <xsl:attribute name="classid">clsid:D27CDB6E-AE6D-11cf-96B8-444553540000</xsl:attribute> .... .... .... </xsl:element> </xsl:template> Thanks Míla >Regarding item #3, you should get the filenames from the videodata elements >included in the hhp file if you set the stylesheet parameter named >htmlhelp.enumerate.images to 1 (it is zero by default). >Bob Stayton >>Does any use SWF files in DocBook? >>I use xsl 1.71.0 to create CHM file output. >> >>The situation: >> >>1) When I use >><mediaobject><videoobject><videodata fileref='../swf/a.swf' width="800" >>scalefit="1" scale="200" format="SWF"/></videoobject> >></mediaobject> >> >>The result doesn't have right size. SWF in HTML expect height attribute, >>but videodata element doesn't have it. XSL generate this code: >> >><div class="mediaobject"> >> <table border="0" summary="manufactured viewport for HTML img" >>cellspacing="0" cellpadding="0" width="800"> >> <tr> >> <td> >> <embed src="../swf/a.swf" width="1080"></embed> >> </td> >> </tr> >> </table> >> </div> >> >> >>3) Neither of method includes the SWF files into HHP in section [FILES]. >>HH.EXE doesn't know about files and doesn't compile them into CHM. >> >>I have also changed <xsl:template name="is.graphic.format"> and >><xsl:template name="is.graphic.extension"> to SWF support. >> >>How to do automation? >>Any ideas? >> >>Mila >> _________________________________________________________________ Be seen and heard with Windows Live Messenger and Microsoft LifeCams http://clk.atdmt.com/MSN/go/msnnkwme0020000001msn/direct/01/?href=http://www.microsoft.com/hardware/digitalcommunication/default.mspx?locale=en-us&source=hmtagline
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]