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

RE: How to avoid XML Parsing while XSLT Transform

Subject: RE: How to avoid XML Parsing while XSLT Transform
From: "Ramkumar" <ramkumar@xxxxxxxxxxxxxxxxxx>
Date: Thu, 16 Jul 2009 17:31:44 +0530
RE:  How to avoid XML Parsing while XSLT Transform
Hi Michael,

Any other way to achieve my requirement using xslt2.0 with Saxon?

Regards,
Ramkumar,
PreMedia Global Ltd


-----Original Message-----
From: Michael Kay [mailto:mike@xxxxxxxxxxxx] 
Sent: Thursday, July 16, 2009 5:19 PM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: RE:  How to avoid XML Parsing while XSLT Transform

You might like to look at Andrew Welch's LexEv processor. This converts
entity references into nodes that are retained in the data model. However, I
don't think it can handle numeric character references - these are typically
converted to characters by the XML parser and there is no way to switch this
off.

Regards,

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

> -----Original Message-----
> From: Ramkumar [mailto:ramkumar@xxxxxxxxxxxxxxxxxx] 
> Sent: 16 July 2009 12:39
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject:  How to avoid XML Parsing while XSLT Transform
> 
> 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

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.