| | |
| | | <xsl:template name="generate-change-listener-help"> |
| | | <xsl:param name="top-name" select="/.." /> |
| | | <xsl:param name="name" select="/.." /> |
| | | |
| | | |
| | | <xsl:variable name="_top-length" select="string-length($top-name)" /> |
| | | <xsl:variable name="_length" select="string-length($name)" /> |
| | | <xsl:variable name="_diff" select="$_length - $_top-length" /> |
| | | <xsl:variable name="_start" select="substring($name, 1, $_diff - 1)" /> |
| | | <xsl:variable name="_middle" select="substring($name, $_diff, 1)" /> |
| | | <xsl:variable name="_end" |
| | | <xsl:variable name="_end" |
| | | select="substring($name, $_diff + 1, $_top-length)" /> |
| | | |
| | | |
| | | <xsl:variable name="short-name"> |
| | | <xsl:choose> |
| | | <xsl:when test="not($top-name) or $top-name = $name"> |
| | |
| | | </xsl:otherwise> |
| | | </xsl:choose> |
| | | </xsl:variable> |
| | | |
| | | |
| | | <xsl:variable name="java-class"> |
| | | <xsl:call-template name="name-to-java"> |
| | | <xsl:with-param name="value" select="$name" /> |
| | |
| | | </xsl:when> |
| | | </xsl:choose> |
| | | </xsl:for-each> |
| | | <!-- |
| | | <!-- |
| | | Now generate the definition. |
| | | --> |
| | | <xsl:call-template name="copyright-notice" /> |