On Nov 1, 2007 11:11 AM, Hannes Magnusson <[EMAIL PROTECTED]> wrote:
> On Nov 1, 2007 1:21 AM, Edward Z. Yang <[EMAIL PROTECTED]> wrote:
> > 2. Split up <methodname> into a <classname> and <methodname>. This
> > approach, not only embedding the information into the XML, also allows
> > us to swap out :: for a more appropriate -> if necessary (especially for
> > non-static functions)
>
> Right, but classname is not allowed anywhere inside methodsynopsis.
> We would need to switch over to classsynopsis, but then we wouldn't be
> able to fetch the classname at all since we can only xinclude the
> methodsynopsis...

We _could_ store the classname in the classsynopsisinfo element as remap
<classsynopsisinfo role="comment" remap="baseclassname">Inherited
methods</classsynopsisinfo>
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook)
xpointer(id('class.baseclassname')/db:refentry/db:[EMAIL 
PROTECTED]'description']/descendant::db:methodsynopsis[1])"
/>

And then use classsynopsis instead of methodsynopsis for the method docs..

-Hannes

Reply via email to