Blame SOURCES/doxygen_to_devhelp.xsl

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