Episode.xsl: 두 판 사이의 차이
편집 요약 없음 |
편집 요약 없음 |
||
| 1번째 줄: | 1번째 줄: | ||
<?xml version="1.0" encoding="UTF-8"?> | <?xml version="1.0" encoding="UTF-8"?> | ||
<xsl:stylesheet version="1.0" | <xsl:stylesheet version="1.0" | ||
| 74번째 줄: | 73번째 줄: | ||
</xsl:stylesheet> | </xsl:stylesheet> | ||
2026년 8월 21일 (금) 01:15 기준 최신판
<?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="/episode">
<xsl:variable name="direction">
<xsl:choose>
<xsl:when test="@lang = 'Arabic'">rtl</xsl:when>
<xsl:otherwise>ltr</xsl:otherwise>
</xsl:choose>
</xsl:variable>
<xsl:variable name="htmlLang">
<xsl:choose>
<xsl:when test="@lang = 'Arabic'">ar</xsl:when>
<xsl:otherwise>ko</xsl:otherwise>
</xsl:choose>
</xsl:variable>
<xsl:value-of select="title"/>
</xsl:template>
</xsl:stylesheet>