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

How to retain Unmapped Entity in Trasformed Output

Subject: How to retain Unmapped Entity in Trasformed Output
From: "Ramkumar" <ramkumar@xxxxxxxxxxxxxxxxxx>
Date: Mon, 1 Feb 2010 18:41:47 +0530
 How to retain Unmapped Entity in Trasformed Output
Hi List,

I am using 'character-map' for decimal entity to character entity conversion
in my xslt2. 

My input html contains decimal entity; I want character entity in my output
xml. I have complete list as shown below.

Mapped all entities are transformed, no issues in this. But
unmapped/undefined entities are missing, not coming in output XML. So How to
retain the unmapped input decimal entity in out put XML after transform? 

Sample code of my xslt2: 
=====================

<xsl:output method="xml" indent="no" encoding="iso-8859-1"
use-character-maps="dec2chrent" omit-xml-declaration="yes" /> 
<xsl:character-map name="dec2chrent">
	<xsl:output-character character="&#8226;" string="&amp;bull;"/>
	......
	......
</xsl:character-map>
.......

Regards,
Vishwa Ramkumar,

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.