xsl-list
[Top] [All Lists]

Re: [xsl] Entities Conversion

2007-05-26 13:45:08
Hello,

The most simple ad hoc way is to change the input xml doc and create a
special DTD
<!ENTITY ldquo "&amp;ldquo;">
<!ENTITY rdquo "&amp;rdquo;">
<!ENTITY ndash "&amp;ndash;">
<!ENTITY mdash "&amp;mdash;">

But may be you can tell why you should do that ?

Xmlizer

On 5/26/07, J. S. Rawat <jrawat(_at_)aptaracorp(_dot_)com> 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
&ldquo; &rdquo; &ndash; &mdash;

OUTPUT  (encoding="iso-8859-1")
&#8220; &#8221; &#8211; &#8212;

OUTPUT  (encoding="iso-8859-1")
" " – —

DESIRED OUTPUT
&ldquo; &rdquo; &ndash; &mdash;

thanks
JSR


--~------------------------------------------------------------------
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>
--~--



--~------------------------------------------------------------------
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>
--~--

<Prev in Thread] Current Thread [Next in Thread>