|
Subject: Re: [xsl] Unicode and child element From: "G. Ken Holman" <gkholman@xxxxxxxxxxxxxxxxxxxx> Date: Thu, 28 Aug 2008 09:05:16 -0400 |
<xsl:function name="my:reverse-string">
<xsl:param name="arg"/>
<xsl:sequence
select="replace(codepoints-to-string(string-to-codepoints($arg)),
'\[#x([0-9A-Za-z]+)\]', '#x$1;')"/>
</xsl:function>
... I've done it earlier but seems to be completely lost today (may be tired).
<xsl:character-map name="escape-my-numeric-character-reference">
<xsl:output-character character="" string="&"/>
</xsl:character-map>-- Upcoming XSLT/XSL-FO hands-on courses: Wellington, NZ 2009-01 Training tools: Comprehensive interactive XSLT/XPath 1.0/2.0 video G. Ken Holman mailto:gkholman@xxxxxxxxxxxxxxxxxxxx Crane Softwrights Ltd. http://www.CraneSoftwrights.com/s/ Male Cancer Awareness Nov'07 http://www.CraneSoftwrights.com/s/bc Legal business disclaimers: http://www.CraneSoftwrights.com/legal
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| [xsl] Unicode and child element, Pankaj Chaturvedi | Thread | Re: [xsl] Unicode and child element, G. Ken Holman |
| RE: [xsl] Result tree fragment to s, Garriss Jr., James P | Date | Re: [xsl] Unicode and child element, G. Ken Holman |
| Month |