doc/ja/docbook.ja.xsl
changeset 1500 cadde8ebf167
equal deleted inserted replaced
1499:874efc57e00a 1500:cadde8ebf167
       
     1 <?xml version='1.0' encoding="UTF-8"?>
       
     2 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version='1.0'>
       
     3   <xsl:import href="http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl"/>
       
     4   <xsl:output encoding="UTF-8"/>
       
     5 
       
     6   <xsl:template match="refnamediv">
       
     7   <xsl:text>.SH 名前&#10;</xsl:text>
       
     8   <xsl:for-each select="refname">
       
     9     <xsl:if test="position()>1">
       
    10       <xsl:text>, </xsl:text>
       
    11     </xsl:if>
       
    12     <xsl:value-of select="."/>
       
    13   </xsl:for-each>
       
    14   <xsl:text> \- </xsl:text>
       
    15   <xsl:value-of select="normalize-space (refpurpose)"/>
       
    16   </xsl:template>
       
    17 
       
    18   <xsl:template match="refsynopsisdiv">
       
    19   <xsl:text>&#10;.SH "書式"&#10;</xsl:text>
       
    20   <xsl:apply-templates/>
       
    21   </xsl:template>
       
    22 
       
    23 </xsl:stylesheet>