*** empty log message ***
authornisikimi <nisikimi>
Thu, 19 Feb 2009 06:08:39 +0000 (06:08 +0000)
committernisikimi <nisikimi>
Thu, 19 Feb 2009 06:08:39 +0000 (06:08 +0000)
utils/description-en.xsl
utils/description-ja.xsl

index cac6e1c..f8bc136 100644 (file)
    <xsl:value-of select="following-sibling::mim:input-method[1]/mim:title"/>
    <xsl:text> icon:&lt;img src="</xsl:text>
    <xsl:value-of select="substring-before(., '.mimx')"/><xsl:text>.png" border="1" style="vertical-align:middle;"&gt; @endhtmlonly)\r@verbatim\r</xsl:text>
-   <xsl:value-of select="following-sibling::mim:input-method[1]/mim:description"/>
+   <xsl:choose><xsl:when  test="following-sibling::mim:input-method[1]/comment()">
    <xsl:value-of select="following-sibling::mim:input-method[1]/comment()"/>
+   </xsl:when>
+   <xsl:otherwise>
+   <xsl:value-of select="following-sibling::mim:input-method[1]/mim:description"/>
+   </xsl:otherwise>
+   </xsl:choose>
    <xsl:text> \r@endverbatim\r</xsl:text>
 &lt;/li&gt;
            </xsl:when>
index bd51ad8..b79a787 100644 (file)
                  <xsl:text> name:</xsl:text>
                  <xsl:value-of select="following-sibling::mim:input-method[1]/mim:tags/mim:name"/>
                  <xsl:text>)\r@verbatim\r</xsl:text>
-                 <xsl:value-of select="following-sibling::mim:input-method[1]/mim:description"/>
-                 <xsl:value-of select="following-sibling::mim:input-method[1]/comment()"/>
+                 <xsl:choose>
+                   <xsl:when  test="following-sibling::mim:input-method[1]/comment()">
+                     <xsl:value-of select="following-sibling::mim:input-method[1]/comment()"/>
+                   </xsl:when>
+                   <xsl:otherwise>
+                     <xsl:value-of select="following-sibling::mim:input-method[1]/mim:description"/>
+                   </xsl:otherwise>
+                 </xsl:choose>
                  <xsl:text> @endverbatim\r</xsl:text>
              </li>
            </xsl:when>