9b1d78
9b1d78
    xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
9b1d78
    xmlns:fo="http://www.w3.org/1999/XSL/Format"
9b1d78
    version="1.0">
9b1d78
9b1d78
<xsl:output method="xml" version="1.0" indent="yes"/>
9b1d78
9b1d78
<xsl:param name="prefix"></xsl:param>
9b1d78
<xsl:param name="booktitle"></xsl:param>
9b1d78
<xsl:param name="bookpart"></xsl:param>
9b1d78
9b1d78
<xsl:template match="/">
9b1d78
  
9b1d78
        name="openchange-{$bookpart}"
9b1d78
	link="index.html">
9b1d78
  <functions>
9b1d78
    <xsl:apply-templates select="doxygenindex/compound[@kind='file']/member[@kind='function']"/>
9b1d78
    <xsl:apply-templates select="doxygenindex/compound[@kind='class']/member[@kind='function']"/>
9b1d78
  </functions>
9b1d78
  </book>
9b1d78
</xsl:template>
9b1d78
9b1d78
<xsl:template match="member">
9b1d78
  <xsl:param name="name"><xsl:value-of select="name"/></xsl:param>
9b1d78
  <xsl:param name="refid"><xsl:value-of select="@refid"/></xsl:param>
9b1d78
  <xsl:param name="before"><xsl:value-of select="substring-before($refid,'_1')"/></xsl:param>
9b1d78
  <xsl:param name="after"><xsl:value-of select="substring-after($refid,'_1')"/></xsl:param>
9b1d78
  <xsl:param name="link"><xsl:value-of select="$before"/>.html#<xsl:value-of select="$after"/></xsl:param>
9b1d78
  <xsl:if test="contains($refid, '_8c_')">
9b1d78
    <function name="{$name}" link="{$prefix}{$link}"/>
9b1d78
  </xsl:if>
9b1d78
</xsl:template>
9b1d78
9b1d78
</xsl:stylesheet>