Re: [docbook] links within classsynopsis?

From
John L. Clark <>
Date
2005-11-09T16:48:51+00:00
ID
20051109164841.GF1857@rejoice
Thread
Re: [docbook] links within classsynopsis?
On Thu, Nov 10, 2005 at 12:00:20AM +0900, Michael Smith wrote:
> Stephen Langer <> writes:
> 
> > I hope this isn't a silly question, but I can't find the answer.  Is  
> > it possible to put links inside a classsynopsis?

> If you use DocBook NG/5, you can mark it up like this:

>       <classsynopsis>
>         <ooclass><classname>hoge</classname></ooclass>
>         <methodsynopsis>
>           <methodname><link linkend="moge_discussion">moge</link></methodname>
>           <void/>
>         </methodsynopsis>
>       </classsynopsis>

> To get the same behavior with DocBook 4.4, you either need to
> create a DTD customization layer or add some content to the
> internal DTD subset of each of your document instances [...]

Interesting; when I researched Stephen's question, I only looked at
DocBook 4.  I'm glad to see that in DocBook 5, `function` and
`methodname` now have the same content model, and that it includes
`link`.

Take care,

    John L. Clark