[ 
http://issues.apache.org/jira/browse/DERBY-502?page=comments#action_12431698 ] 
            
Kim Haase commented on DERBY-502:
---------------------------------

This is actually two separate problems, neither of which I can figure out how 
to solve.

For the HTML frames version, what happens is that the ant target html.dita (in 
build.xml) just copies the file index.html from the DITA-OT1.1.2.1/resource/ 
directory. If it were possible to edit the file after the copy to change "Web 
Sample" to the title of the particular book being generated, that would fix the 
bug. I don't know if there is an ant task that would do this.

The "XSL FO Document" string comes from the lib/fo2html.xsl file:

<xsl:template match="fo:root">
  <html>
    <head>
      <title>
        <xsl:choose>
          <xsl:when test="descendant::fo:title[1]">
            <xsl:value-of select="fo:title"/>
          </xsl:when>
          <xsl:otherwise>XSL FO Document</xsl:otherwise>
        </xsl:choose>
      </title>
      .....

But I can't figure out where the "fo:title" would come from. I'm too ignorant 
of XSL. Perhaps someone else can help.

> Browser title for manuals in HTML format is a non-sense default value
> ---------------------------------------------------------------------
>
>                 Key: DERBY-502
>                 URL: http://issues.apache.org/jira/browse/DERBY-502
>             Project: Derby
>          Issue Type: Bug
>          Components: Documentation
>            Reporter: Kristian Waagan
>            Priority: Minor
>
> The browser title for manuals in HTML format is not set to reflect the title 
> of the manual itself. All manuals in HTML book format has title "XSL FO 
> Document", while the HTML single manuals have title "Web Sample". Since the 
> Derby documentation is separated into several manuals, this makes it hard to 
> navigate when you have several/all manuals open in your browser.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to