[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

[xsl] How to avoid XML Parsing while XSLT Transform


Subject: [xsl] How to avoid XML Parsing while XSLT Transform
From: "Ramkumar" <ramkumar@xxxxxxxxxxxxxxxxxx>
Date: Thu, 16 Jul 2009 17:08:31 +0530

Hi List,

While xslt (xml to xml) transformation, particular hexa decimal entity, for
example, Apostrophe is changes into character (not character entity). I need
this entity as any form of entity means decimal, character and hexa decimal
entity.

Input (Content):
He lived in a room above a baker&#x00027;s shop.

XSLT (saxon9 xslt v2.0):
<xsl:output method="xml" indent="no" encoding="iso-8859-1"/>

Transformed Output (Content):
He lived in a room above a baker's shop.

Expected Output (Content):
He lived in a room above a baker&#8217;s shop.
Or
He lived in a room above a baker&apos;s shop.

Provide provide solution for the above issue.

Regards,
Ramkumar,


Current Thread
Keywords