On Fri, Dec 5, 2008 at 14:58, Anthony Bedford <[EMAIL PROTECTED]> wrote:
>
> Yeah, I think I'm not doing it correctly then as I was doing this:
>
> <para xml:id="mysqli.overview.mysqlnd">
>        <emphasis role="bold">What is PHP's MySQL Native Driver?</emphasis>
> </para>
>
> I think it's only going to work for a section title. :)
>
> The following *does* work however:
>
> <link linkend="mysqli.overview.mysqlnd">What is PHP's MySQL Native
> Driver?</link>

And that links to the exact paragraph?
(mysql.overview.php#mysql.overview.mysqlnd)


> I guess I could use an entity for the link text as you say.

If the <link linkend="">What is PHP's MysQl..</link> is going to be
repeated a lot I would add the entire thing into a entity and use
&link.whatis.mysqlnd; (en/language-snippets.ent).


>>> However, when I re-configure and rebuild what I actually get is a link to
>>> is
>>> mysqli.overview, that is the top of the document, rather than the
>>> specific
>>> paragraph I want.
>>
>> Hmh. mysqli.overview is the parent chunk of the paragraph right?
>> So the link is correct, just missing the fragment?
>
> Not quite. Following the link takes me to the right document, but not down
> to the correct paragraph.

Right, its just missing the #id.of.the.paragraph fragment so the
browser scrolls down to the anchor (that is; should be linking to
mysql.overview.php#mysql.overview.mysqlnd, but is mysql.overview.php)?

-Hannes

Reply via email to