function.xsl:

- Use arabic numbering for semantic clauses

collect.xsl:
  - Accept the input directory as a stylesheet parameter

doxygen2boostbook.xsl:
  - Update for recent changes in the BoostBook XML format


[SVN r18242]
This commit is contained in:
Douglas Gregor 2003-04-13 14:44:38 +00:00
parent ce3af72b76
commit 2f878b7612
3 changed files with 20 additions and 18 deletions

View File

@ -2,11 +2,13 @@
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:output method="xml" version="1.0" indent="yes" standalone="yes" /> <xsl:output method="xml" version="1.0" indent="yes" standalone="yes" />
<xsl:param name="doxygen.xml.path">./</xsl:param>
<xsl:template match="/"> <xsl:template match="/">
<doxygen version="{doxygen/@version}"> <doxygen version="{doxygen/@version}">
<!-- Load all doxgen generated xml files --> <!-- Load all doxgen generated xml files -->
<xsl:for-each select="doxygen/compound"> <xsl:for-each select="doxygen/compound">
<xsl:copy-of select="document( concat( <xsl:copy-of select="document( concat($doxygen.xml.path, '/',
@refid, '.xml' ) )/doxygen/*" /> @refid, '.xml' ) )/doxygen/*" />
</xsl:for-each> </xsl:for-each>
</doxygen> </doxygen>

View File

@ -339,50 +339,50 @@ Cannot handle template parameter with type <xsl:value-of select="string(type)"/>
<xsl:choose> <xsl:choose>
<xsl:when test="@kind='public-static-func'"> <xsl:when test="@kind='public-static-func'">
<!-- TBD: pass on the fact that these are static functions --> <!-- TBD: pass on the fact that these are static functions -->
<member-function-group name="Public static functions"> <method-group name="public static functions">
<xsl:apply-templates> <xsl:apply-templates>
<xsl:with-param name="in-section" select="true()"/> <xsl:with-param name="in-section" select="true()"/>
</xsl:apply-templates> </xsl:apply-templates>
</member-function-group> </method-group>
</xsl:when> </xsl:when>
<xsl:when test="@kind='protected-static-func'"> <xsl:when test="@kind='protected-static-func'">
<!-- TBD: pass on the fact that these are static functions --> <!-- TBD: pass on the fact that these are static functions -->
<member-function-group name="Protected static functions"> <method-group name="protected static functions">
<xsl:apply-templates> <xsl:apply-templates>
<xsl:with-param name="in-section" select="true()"/> <xsl:with-param name="in-section" select="true()"/>
</xsl:apply-templates> </xsl:apply-templates>
</member-function-group> </method-group>
</xsl:when> </xsl:when>
<xsl:when test="@kind='private-static-func'"> <xsl:when test="@kind='private-static-func'">
<!-- TBD: pass on the fact that these are static functions --> <!-- TBD: pass on the fact that these are static functions -->
<member-function-group name="Private static functions"> <method-group name="private static functions">
<xsl:apply-templates> <xsl:apply-templates>
<xsl:with-param name="in-section" select="true()"/> <xsl:with-param name="in-section" select="true()"/>
</xsl:apply-templates> </xsl:apply-templates>
</member-function-group> </method-group>
</xsl:when> </xsl:when>
<xsl:when test="@kind='public-func'"> <xsl:when test="@kind='public-func'">
<member-function-group name="Public member functions"> <method-group name="public member functions">
<xsl:apply-templates> <xsl:apply-templates>
<xsl:with-param name="in-section" select="true()"/> <xsl:with-param name="in-section" select="true()"/>
</xsl:apply-templates> </xsl:apply-templates>
</member-function-group> </method-group>
<xsl:apply-templates/> <xsl:apply-templates/>
</xsl:when> </xsl:when>
<xsl:when test="@kind='protected-func'"> <xsl:when test="@kind='protected-func'">
<member-function-group name="Protected member functions"> <method-group name="protected member functions">
<xsl:apply-templates> <xsl:apply-templates>
<xsl:with-param name="in-section" select="true()"/> <xsl:with-param name="in-section" select="true()"/>
</xsl:apply-templates> </xsl:apply-templates>
</member-function-group> </method-group>
<xsl:apply-templates/> <xsl:apply-templates/>
</xsl:when> </xsl:when>
<xsl:when test="@kind='private-func'"> <xsl:when test="@kind='private-func'">
<member-function-group name="Private member functions"> <method-group name="private member functions">
<xsl:apply-templates> <xsl:apply-templates>
<xsl:with-param name="in-section" select="true()"/> <xsl:with-param name="in-section" select="true()"/>
</xsl:apply-templates> </xsl:apply-templates>
</member-function-group> </method-group>
<xsl:apply-templates/> <xsl:apply-templates/>
</xsl:when> </xsl:when>
<xsl:when test="@kind='public-type'"> <xsl:when test="@kind='public-type'">
@ -550,9 +550,9 @@ Cannot handle memberdef element with kind=<xsl:value-of select="@kind"/>
</xsl:attribute> </xsl:attribute>
<!-- Return type --> <!-- Return type -->
<xsl:attribute name="return-type"> <type>
<xsl:value-of select="type"/> <xsl:value-of select="type"/>
</xsl:attribute> </type>
<xsl:call-template name="function.children"/> <xsl:call-template name="function.children"/>
</function> </function>
@ -605,9 +605,9 @@ Cannot handle memberdef element with kind=<xsl:value-of select="@kind"/>
</xsl:if> </xsl:if>
<!-- Return type --> <!-- Return type -->
<xsl:attribute name="return-type"> <type>
<xsl:value-of select="type"/> <xsl:value-of select="type"/>
</xsl:attribute> </type>
<xsl:call-template name="function.children"/> <xsl:call-template name="function.children"/>
</method> </method>

View File

@ -734,7 +734,7 @@
<!-- The "standardese" function requirements mode uses ordered lists --> <!-- The "standardese" function requirements mode uses ordered lists -->
<xsl:template name="function.requirements.standardese"> <xsl:template name="function.requirements.standardese">
<orderedlist spacing="compact"> <orderedlist spacing="compact" numeration="arabic">
<xsl:apply-templates <xsl:apply-templates
select="requires|effects|postconditions|returns|throws|complexity| select="requires|effects|postconditions|returns|throws|complexity|
notes|rationale" notes|rationale"