Chi Truc Dinh wrote:
> 
> I'm trying to make links to sub-sections in my docbook document.  When i click
> on the link I made on the html page obtained, it brings me to the beginning of
> the section instead of the targeted sub-section with its title.
> 
> For example, let's say i have the following title organization:
> 
> Section1
>    sub1.1
>    ...
>    sub1.5
> 
> Section2
>    sub2.1
>    ...
>    sub2.7
>       this is the "link to sub1.5"
> 
> for sub1.5, i have specified a string for the attribute ID, let's say, "my_id"
> and for sub2.7, i specified the same string to the attrib LINKEND.
> 
>>From the HTML documents produced by XML Editor, clicking on the link in sub2.7
> will bring me to Section1 instead of sub1.5.
> 
> I'm using the standard edition actually so is it the reason i can't get the
> behavior i wish.  If not, how can I reference properly to subsections (with
> their titles!)?
> 

Your question is not really related to XMLmind XML Editor. It is more a
DocBook/DocBook XSL stylesheets question.

If you want links to work you must specify the "id" attribute for the
<section> and not for its <title>. (In general, it is useless to specify
"id" attributes on <title>s.)

In order to do that, please *explicitly* *select* the <section> before
specifying its "id" attribute. For example click on word "section" in
the node path bar.



Reply via email to