Blame SOURCES/doxygen_to_devhelp.xsl

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