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

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook message

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


Subject: DOCBOOK: HTML ID problem


Hello,
	I sent this question in a couple weeks ago, but it appears to have 
slipped through the cracks.

        I have come across a small problem that may just be a
configuration bug
on my part.  I am using DocBook v4.1 (SGML) with the 1.57 DSSSL
stylesheets.  In my content, I am using the id attribute for items that
I want to link back to.  I am using the xref tag to link back to these
ids, and it is generating the text from the given xreflabel or
generating auto-text fine.  The problem is the link.  Xref is generating
an appropriate link to the id, such as:
        x206.htm#HMADDMENUHELP

However, the link does not always work.  For the ids that are on the
chapters or section tags, this is working fine, as in the HTML output,
DocBook
has placed <A NAME="..."> at the appropriate locations.  for the above
example, I have the following markup in my content:
        <command id="HMADDMENUHELP"> ...

I would have expected to get something like the following in the HTML
output:
        <A NAME="HMADDMENUHELP"> ... </A>

but I am not getting the anchor put in place.  As a result, any xrefed
link for that command is not going to the appropriate location in the
file 
when a user links to it.  I know I can just get around this by using the 
anchor tag instead of the id, but I thought that this was what the id
attribute 
was for.  

Any insight would be appreciated.

Todd Babinski


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


Powered by eList eXpress LLC