[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: RE: [docbook-apps] oointerface - writing a synopsis for a Java interface
In looking through the XSL used to generate the
classsynopsis element, it looks like the problem is not the inclusion of the
word 'interface'. It is the assumption that, at least in the Java/default case,
that the synopsis is for a class that is implementing an interface and not an
interface by itself.
I had figured that the reason class="interface" was added
to the element was for cases where the author wanted to create a synopsis for an
interface and not a class. Was this a mistake on my part?
The way I addressed this was by adding an
<xsl:choose> around the code that generates the text. The first
<xsl:when> element uses test="@class=interface" to test for generating
just an interface. This case skips over the processing of the ooclass element as
this in not needed in this case. The <xsl:otherwise> holds the old code
that processes the class case.
|
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]