At 2013-05-15 20:30 +0000, Craig Sampson wrote:
Here's a snippet of the file to be converted:
(where the special character is a lower case greek mu ( u + 03BC ))
<foreign><mml:math
xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mi>ì</mml:mi></mml:math></foreign>
My character-map contains:
<xsl:output-character character="캼"
string="&#x03BC;"/> <!-- lc mu -->
...
What am I doing wrong?
The character= attribute must contain the Unicode
character, not the UTF-8 encoding of the Unicode
character. The attribute name is specifically
asking for the character itself, not the sequence
of bytes that might make it up.
<xsl:output-character character="μ" string="&#x03BC"/>
Even easy to visually validate!
I hope this helps.
. . . . . . . . Ken
--
Contact us for world-wide XML consulting and instructor-led training |
Free 5-hour lecture: http://www.CraneSoftwrights.com/links/udemy.htm |
Crane Softwrights Ltd. http://www.CraneSoftwrights.com/s/ |
G. Ken Holman mailto:gkholman(_at_)CraneSoftwrights(_dot_)com
|
Google+ profile: https://plus.google.com/116832879756988317389/about |
Legal business disclaimers: http://www.CraneSoftwrights.com/legal |
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--