|
Subject: Re: [xsl] Combining translate() and apply-templates From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx> Date: Thu, 27 Jan 2005 11:31:22 -0500 |
<xsl:variable name="title"> <xsl:apply-templates select="title"/> </xsl:variable>
<xsl:value-of select="translate($title,$lower,$upper)" />
so long as your upper and lower variables include the spanish characters.
<new_rel> <title>La <emph>Divorc<eacute />e</emph></title> <rating>R</rating> </new_rel>
<xsl:template match="emph">
<b>
<xsl:apply-templates/>
</b>
</xsl:template>Cheers, Wendell
====================================================================== Wendell Piez mailto:wapiez@xxxxxxxxxxxxxxxx Mulberry Technologies, Inc. http://www.mulberrytech.com 17 West Jefferson Street Direct Phone: 301/315-9635 Suite 207 Phone: 301/315-9631 Rockville, MD 20850 Fax: 301/315-8285 ---------------------------------------------------------------------- Mulberry Technologies: A Consultancy Specializing in SGML and XML ======================================================================
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Re: [xsl] Combining translate() and, Cynthia DeLaria | Thread | Re: [xsl] Combining translate() and, Cynthia DeLaria |
| Re: [xsl] grouping, sorting and sel, Wendell Piez | Date | Re: [xsl] Combining translate() and, Cynthia DeLaria |
| Month |