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

RE: Force Unicode change

Subject: RE: Force Unicode change
From: "Pankaj Chaturvedi" <pankaj.chaturvedi@xxxxxxxxx>
Date: Thu, 24 Apr 2008 12:51:23 +0530
RE:  Force Unicode change
Thanks Michael!!! 
Changing entity definition

<!ENTITY hyphen "[#x002d]" ><!--=hyphen -->

does the trick.

-----Original Message-----
From: Michael Kay [mailto:mike@xxxxxxxxxxxx]
Sent: Wednesday, April 23, 2008 1:47 PM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: RE:  Force Unicode change



Why not change the definition of the entity in your original XML source?

Michael Kay
http://www.saxonica.com/ 


> -----Original Message-----
> From: Pankaj Chaturvedi [mailto:pankaj.chaturvedi@xxxxxxxxx] 
> Sent: 23 April 2008 08:29
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject:  Force Unicode change
> 
> 
> Hi,
> 
> While converting my character entities into Unicode, my 
> &hyphen; gets converted into &#x02010;, which is quite ok by 
> what Atolva takes, but I want my hyphen  to be as  &#002d;. 
> Is there a way of force change of entity instead of default, 
> I mean something in:
> 
> <xsl:output use-character-maps="searchreplace" /> 
> <xsl:character-map name="searchreplace">
>     <xsl:output-character character="&#x02010;" 
> string="&#002d;" /> </xsl:character-map>
> 
> 
> I am not expert in 2.0 and still learning. Any suggestions 
> will be an immense help.
> 
> 
> Best,
> 
> Pankaj Chaturvedi
> 
> ==============================================================
> ==============
> ================
> 
> 
> Confidentiality Notice:" This message and any attachment(s) 
> contained here are information that is confidential, 
> proprietary to IDS Infotech Ltd. and its customers.
> Contents may be privileged or otherwise protected by law. The 
> information is solely intended for the individual or the 
> entity it is addressed to. If you are not the intended 
> recipient of this message, you are not authorized to read, 
> forward, print, retain, copy or disseminate this message or 
> any part of it. If you have received this e-mail in error, 
> please notify the sender immediately by return e-mail and 
> delete it from your computer."

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.