Following code segment in webhelp-common.xsl does the generation of this
heading in the webhelp header section. I'm too lazy right now to understand
how all the generation happens. :)

            <h1>
              <xsl:apply-templates select="/*[1]" mode="title.markup"/>
              <br/>
                <xsl:choose>
                    <xsl:when
                        test="count($up) &gt; 0 and generate-id($up) !=
generate-id($home)">
                      <xsl:apply-templates select="$up"
mode="object.title.markup"/>
                    </xsl:when>
                    <xsl:when test="not(generate-id(.) = generate-id(/*))">
                      <xsl:apply-templates select="."
mode="object.title.markup"/>
                    </xsl:when>
                    <xsl:otherwise>&#160;</xsl:otherwise>
                </xsl:choose>
            </h1>



On Tue, Feb 10, 2015 at 7:36 PM, Janice Manwiller <[email protected]> wrote:

> When generating WebHelp, the headings always reflect the level within the
> document.
>
> So heading at the top of a topic could be a heading 1, heading 2, heading
> 3, etc. depending on where it falls in the structure of the document.
>
> What I'd prefer is to have the heading at the top of the topic always be
> the same, presumably heading 1. If there are subheadings within a topic
> (from bridgeheads or because of different chunking), then they should start
> with heading 2.
>
> Is there any way to do this?
>
> Thanks,
>
> Janice
>



-- 
~~~*******'''''''''''''*******~~~
*Kasun Gajasinghe*
Software Engineer; WSO2 Inc.; http://wso2.com,
*linked-in: *http://lk.linkedin.com/in/gajasinghe
*blog: **http://blog.kasunbg.org* <http://blog.kasunbg.org/>


*twitter: **http://twitter.com/kasunbg* <http://twitter.com/kasunbg>

Reply via email to