|
Subject: [xsl] global language parameter From: Charles Muller <cmuller-lst@xxxxxxxxxxxxxxx> Date: Sun, 14 Feb 2010 01:41:24 +0900 |
<xsl:template name="languageWrap">
<xsl:param name="contents">
<xsl:apply-templates/>
</xsl:param>
<xsl:choose>
<xsl:when test="@xml:lang='sa'">
<span style="font-family: 'Times Ext Roman'">
<xsl:copy-of select="$contents"/>
</span>
</xsl:when>
<xsl:when test="@xml:lang='zh'">
<span style="font-family: Mincho,MingLiU, Batang, Simsun">
<xsl:copy-of select="$contents"/>
</span>
</xsl:when>
<xsl:when test="@xml:lang='ko'">
<span style="font-family: Batang, BatangChe">
<xsl:copy-of select="$contents"/>
</span>
</xsl:when>
<xsl:otherwise>
<xsl:copy-of select="$contents"/>
</xsl:otherwise>
</xsl:choose>
</xsl:template>Chuck -- -------------------
University of Tokyo Graduate School of Humanities and Sociology, Faculty of Letters Center for Evolving Humanities Akamon kenkyE+ tE #722 7-3-1 HongE , BunkyE -ku Tokyo 113-0033, Japan
Web Site: Resources for East Asian Language and Thought http://www.acmuller.net
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Re: [xsl] [XSL] unparsed-text with , Calvados Boulard | Thread | Re: [xsl] global language parameter, G. Ken Holman |
| Re: [xsl] "xsl", xslt and xsl-fo [W, Dave Pawson | Date | Re: [xsl] global language parameter, G. Ken Holman |
| Month |