OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Re: [docbook-apps] Legalnotice: HTML Help generates filename, butI had changed it...


Billard, Trish wrote:

>  I'd ignore it, but then my htmlhelp workshop can't compile the ln-d3e10.htm and gives an error. I'd like to avoid that.  How can I keep the stylesheets from generating this extra file?

You can silently ignore this message, it doesn't affect output. But if 
you still care, you can override following template to output desired 
filename for legal notice:

<xsl:template match="legalnotice" mode="enumerate-files">
   <xsl:variable name="id"><xsl:call-template 
name="object.id"/></xsl:variable>
   <xsl:if test="$generate.legalnotice.link != 0">
     <xsl:call-template name="make-relative-filename">
       <xsl:with-param name="base.dir">
         <xsl:if test="$manifest.in.base.dir = 0">
           <xsl:value-of select="$base.dir"/>
         </xsl:if>
       </xsl:with-param>
       <xsl:with-param name="base.name" 
select="concat('ln-',$id,$html.ext)"/>
     </xsl:call-template>
     <xsl:text>&#10;</xsl:text>
   </xsl:if>
</xsl:template>


-- 
------------------------------------------------------------------
   Jirka Kosek     e-mail: jirka@kosek.cz     http://www.kosek.cz
------------------------------------------------------------------
   Profesionální školení a poradenství v oblasti technologií XML.
      Podívejte se na náš nově spuštěný web http://DocBook.cz
------------------------------------------------------------------

S/MIME Cryptographic Signature



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]