This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
FROM MATHY
- From: Mathy V Arumugam <mathy dot v dot arumugam at jpl dot nasa dot gov>
- To: xsl-list at lists dot mulberrytech dot com
- Date: Wed, 12 Jun 2002 15:51:19 -0700
- Subject: [xsl] FROM MATHY
- References: <002901c211ef$4ed282b0$6401a8c0@pcukmka>
- Reply-to: xsl-list at lists dot mulberrytech dot com
to: xsl-list@lists.mulberrytech.com
subject: Re: [xsl] character dagger
Hi,
Thank you all so much for your input on this. Michael, I did check the XML file as well as XSL file of the encoding declaration. This is what I have on both the files. I did a copy and past of (†) the dagger symbol into the database. I used java application to retrieve the
field and created xml file. As I said earlier, using notepad I am able to see the dagger symbol of the xml file but not after applying xslt file.
Thanks
<?xml version='1.0' encoding='iso-8859-1'?>
<?xml-stylesheet type='text/xsl' href='../810_005.xsl'?>
....
<xsl:stylesheet version="1.0"
xmlns:fo="http://www.w3.org/1999/XSL/Format"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:func="http://www.exslt.org/functions"
xmlns:date="java.util.Date"
xmlns:format="java.text.SimpleDateFormat"
exclude-result-prefixes="date format">
<xsl:output method="html" encoding="iso-8859-1"/>
.....
Michael Kay wrote:
> > I do see the dagger symbol (†) in the xml file (using
> > nodepad). Once I apply the syle sheet † becomes ⤢, and in
> > PDF † is #. I realize that † is not present in iso-8859-1.
>
> If you see a dagger symbol in the file when you view it using NodePad, then the file cannot be in iso-8859-1 encoding. Forget FOP: you need to solve the problem by ensuring that the actual encoding of the XML file and the encoding declared in its XML declaration are the same.
>
> Michael Kay
> Software AG
> home: Michael.H.Kay@ntlworld.com
> work: Michael.Kay@softwareag.com
>
> XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list