Text.xsl

Classics Wiki
Admin (토론 | 기여)님의 2026년 4월 27일 (월) 00:40 판
(차이) ← 이전 판 | 최신판 (차이) | 다음 판 → (차이)

<?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">
       
           § <xsl:apply-templates/>
</xsl:template>
   <xsl:template match="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>