xsl-list
[Top] [All Lists]

Re: [xsl] How to avoid XML Parsing while XSLT Transform

2009-07-16 08:00:13

despite the subject line and your problem description, I don't think
your problem is related to parsing.

You are using  encoding="iso-8859-1"/
and say you want baker’s but if you had a #8217 in your result
then it would appear that way, as it can not be firectly encoded as a
iso-8859-1 character.

Your input has ' so it appears that you want to replace
#0027 by #8217, that is
APOSTROPHE by RIGHT SINGLE QUOTATION MARK
which you can do by
<xsl:template match="text">
<xsl:value-of select="replace(.,'&#0027;','&#8217;')"/>


or by using character maps.

David

________________________________________________________________________
The Numerical Algorithms Group Ltd is a company registered in England
and Wales with company number 1249803. The registered office is:
Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom.

This e-mail has been scanned for all viruses by Star. The service is
powered by MessageLabs. 
________________________________________________________________________

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--