- <xsl:choose>
- <xsl:when test="contains(compoundname, '_')">
- <xsl:value-of select="translate(compoundname, '_', '/')"/>
- <xsl:text>.h</xsl:text>
- </xsl:when>
-
- <xsl:otherwise>
- <xsl:value-of select="compoundname"/>
- <xsl:text>.h</xsl:text>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:variable>
-
- <xsl:variable name="name.escaped">
- <xsl:choose>
- <xsl:when test="contains(compoundname, '_')">
- <xsl:value-of select="translate(compoundname, '_', '.')"/>
- <xsl:text>.h</xsl:text>
- </xsl:when>
-
- <xsl:otherwise>
- <xsl:value-of select="compoundname"/>
- <xsl:text>.h</xsl:text>
- </xsl:otherwise>
- </xsl:choose>
+ <xsl:text>LUFA.</xsl:text>
+ <xsl:value-of select="translate(compoundname, '_', '.')"/>