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] | [List Home]


Subject: Re: [docbook] links within classsynopsis?


On Thu, Nov 10, 2005 at 12:00:20AM +0900, Michael Smith wrote:
> Stephen Langer <stephen.langer@nist.gov> 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

PGP signature



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