[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
Re: [xsl] Entities Conversion
Subject: Re: [xsl] Entities Conversion
From: mozer <xmlizer@xxxxxxxxx>
Date: Sat, 26 May 2007 22:44:41 +0200
|
Hello,
The most simple ad hoc way is to change the input xml doc and create a
special DTD
<!ENTITY ldquo "&ldquo;">
<!ENTITY rdquo "&rdquo;">
<!ENTITY ndash "&ndash;">
<!ENTITY mdash "&mdash;">
But may be you can tell why you should do that ?
Xmlizer
On 5/26/07, J. S. Rawat <jrawat@xxxxxxxxxxxxxx> wrote:
Hi!
In my output file entities are getting converted into as per the encoding
specified in the <output> element but I don't want to change the enties. Is
there any encoding value, which will convert it into as desired output.
INPUT
“ ” – —
OUTPUT (encoding="iso-8859-1")
“ ” – —
OUTPUT (encoding="iso-8859-1")
" "
DESIRED OUTPUT
“ ” – —
thanks
JSR
|