Text.xsl: 두 판 사이의 차이

Classics Wiki
새 문서: <?xml version="1.0" encoding="UTF-8"?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:output method="html" encoding="UTF-8" indent="yes"/> <xsl:template match="/"> <div class="text-container" style="line-height: 1.8; font-size: 1.1em;"> <xsl:apply-templates select="//hanmun_text | //translation"/> </div> </xsl:template> <xsl:template match="hanmun_text | translation"> <div class="content-...
 
편집 요약 없음
13번째 줄: 13번째 줄:
             <xsl:apply-templates/>
             <xsl:apply-templates/>
         </div>
         </div>
    </xsl:template>
    <xsl:template match="title | heading">
        <span style="color: navy; font-size: 1.25em; vertical-align: baseline; margin: 0 2px;">
            <br/>§ <xsl:apply-templates/><br/>
        </span>
     </xsl:template>
     </xsl:template>



2026년 4월 26일 (일) 21:05 판

<?xml version="1.0" encoding="UTF-8"?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">

   <xsl:output method="html" encoding="UTF-8" indent="yes"/>
   <xsl:template match="/">
           <xsl:apply-templates select="//hanmun_text | //translation"/>
   </xsl:template>
   <xsl:template match="hanmun_text | translation">
           <xsl:apply-templates/>
   </xsl:template>
   <xsl:template match="title | heading">
       
           
§ <xsl:apply-templates/>
</xsl:template>
   <xsl:template match="annotation">
       
           【<xsl:apply-templates/>】
       
   </xsl:template>
   <xsl:template match="note">
       
           〔<xsl:apply-templates/>]
       
   </xsl:template>
   <xsl:template match="*">
       <xsl:apply-templates/>
   </xsl:template>

</xsl:stylesheet>