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: anchors and id's


Hi,

I wrote my document in XML and gave every chapter and section an id which looks like this:
    
    For chapter:     <chapter id="ai">
    For sections:    <sect1 id="sun_ai">
                              <sect3 id="sun_or_ei">

For me this looks like a valid id names. When processing it through xsltproc, with the chunk.xsl, the linking from the TOC to an anchor in a chapter doesn't work right. It jumps somewhere near the anchor. 

The rendered Output (in TOC) looks like this:
    
       <span class="sect3">
        <a href="ch01s01.html#sun_or_ei"> Einleitung </a>
    </span>

The target looks like this:

<div>
    <h4 class="title">
        <a name="sun_or_ei"> </a>
    Einleitung </h4>
</div>


Why is it not rendered like this: 

<div>
    <h4 class="title">
        <a name="sun_or_ei"> Einleitung </a>
    </h4>
</div>

I think this is disturbing most of the browsers.

I'm using xsltproc on Mac OS X Tiger and DocBook xsl stylesheets version 1.69.1

Thank's for your response 

rico






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