<xsl:variable name="suffix">
<xsl:choose>
<xsl:when test="ancestor::interface">
- <xsl:value-of select="concat(str:replace(ancestor::interface/@name, 'org.freedesktop.accessibility.', ''), '_', @suffix)"/>
+ <xsl:value-of select="concat(str:replace(ancestor::interface/@name, 'org.freedesktop.atspi.', ''), '_', @suffix)"/>
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="@suffix"/>
<xsl:variable name="name">
<xsl:choose>
<xsl:when test="ancestor::interface">
- <xsl:value-of select="concat(str:replace(ancestor::interface/@name, 'org.freedesktop.accessibility.', ''), '_', @name)"/>
+ <xsl:value-of select="concat(str:replace(ancestor::interface/@name, 'org.freedesktop.atspi.', ''), '_', @name)"/>
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="@name"/>
<xsl:variable name="suffix">
<xsl:choose>
<xsl:when test="ancestor::interface">
- <xsl:value-of select="concat(str:replace(ancestor::interface/@name, 'org.freedesktop.accessibility.', ''), '_', @suffix)"/>
+ <xsl:value-of select="concat(str:replace(ancestor::interface/@name, 'org.freedesktop.atspi.', ''), '_', @suffix)"/>
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="@suffix"/>
<xsl:text> </xsl:text>
<xsl:text> */ </xsl:text>
<xsl:text> </xsl:text>
+ <xsl:text>#ifndef _ACCESSIBILITY_H_ </xsl:text>
+ <xsl:text>#define _ACCESSIBILITY_H_ </xsl:text>
<xsl:text>#ifdef __cplusplus </xsl:text>
<xsl:text>extern "C" { </xsl:text>
<xsl:text>#endif </xsl:text>
<xsl:text>#ifdef __cplusplus </xsl:text>
<xsl:text>} </xsl:text>
<xsl:text>#endif </xsl:text>
+ <xsl:text>#endif </xsl:text>
</xsl:template>
</xsl:stylesheet>