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'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’s shop. > Or > He lived in a room above a baker's shop. > > Provide provide solution for the above issue. > > Regards, > Ramkumar,
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format