Text.xsl: 두 판 사이의 차이

Classics Wiki
편집 요약 없음
편집 요약 없음
22번째 줄: 22번째 줄:


     <xsl:template match="annotation">
     <xsl:template match="annotation">
         <span style="color: olive; font-size: 0.85em; vertical-align: baseline; margin: 0 2px;">
         <span style="color: olive; font-size: 0.75em; vertical-align: baseline; margin: 0 2px;">
             【<xsl:apply-templates/>】
             【<xsl:apply-templates/>】
         </span>
         </span>
28번째 줄: 28번째 줄:


     <xsl:template match="note">
     <xsl:template match="note">
         <span style="color: orange; font-size: 0.85em; vertical-align: baseline; margin: 0 2px;">
         <span style="color: orange; font-size: 0.75em; vertical-align: baseline; margin: 0 2px;">
             〔<xsl:apply-templates/>]
             〔<xsl:apply-templates/>]
         </span>
         </span>

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

<?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>