Episode.xsl: 두 판 사이의 차이
편집 요약 없음 |
편집 요약 없음 |
||
| 37번째 줄: | 37번째 줄: | ||
.card { | .card { | ||
background: #ffffff; | background: #ffffff; | ||
max-width: | max-width: 990px; | ||
width: 100%; | width: 100%; | ||
border-radius: 12px; | border-radius: 12px; | ||
2026년 8월 27일 (목) 00:08 판
<?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>