[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: character maps

Subject: Re: character maps
From: "G. Ken Holman" <gkholman@xxxxxxxxxxxxxxxxxxxx>
Date: Wed, 15 May 2013 16:57:13 -0500
Re:  character maps
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>l</mml:mi></mml:math>
</foreign>

My character-map contains:


<xsl:output-character character="&#xCEBC;"
string="&amp;#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="&#x03BC;" string="&amp;#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@xxxxxxxxxxxxxxxxxxxx | Google+ profile: https://plus.google.com/116832879756988317389/about | Legal business disclaimers: http://www.CraneSoftwrights.com/legal |

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.