You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by Munjal Thaker <mu...@obsidiana-corp.com> on 2000/11/20 19:24:13 UTC

help with user Q

Hello,

I have a question using xalan.  I'm a jr level programmer so pardon my
ignorance.
After converting my xml documents using a new schema(for a new CMS), the
newly created xml docs are encoded in UTF-8.  Anyway to restrict it from
encoding it that way and just leaving it "normal" like in ANSI?
Any help would be greatly appreciated.
Thanks!

Mt


RE: help with user Q

Posted by Munjal Thaker <mu...@obsidiana-corp.com>.
rushed to post without reading archives...
thanks though!

> -----Original Message-----
> From: Gary L Peskin [mailto:garyp@firstech.com]
> Sent: Monday, November 20, 2000 1:44 PM
> To: xalan-dev@xml.apache.org
> Subject: Re: help with user Q
>
>
> Munjal Thaker wrote:
> >
> > Hello,
> >
> > I have a question using xalan.  I'm a jr level programmer so pardon my
> > ignorance.
> > After converting my xml documents using a new schema(for a new CMS), the
> > newly created xml docs are encoded in UTF-8.  Anyway to restrict it from
> > encoding it that way and just leaving it "normal" like in ANSI?
> > Any help would be greatly appreciated.
> > Thanks!
> >
> > Mt
>
> See http://www.w3.org/TR/xslt.html#output
>
> You probably want to specify something like
>
>   <xsl:output method="xml" encoding="8859_1"/>
>
> Gary
>


Re: help with user Q

Posted by Gary L Peskin <ga...@firstech.com>.
Munjal Thaker wrote:
> 
> Hello,
> 
> I have a question using xalan.  I'm a jr level programmer so pardon my
> ignorance.
> After converting my xml documents using a new schema(for a new CMS), the
> newly created xml docs are encoded in UTF-8.  Anyway to restrict it from
> encoding it that way and just leaving it "normal" like in ANSI?
> Any help would be greatly appreciated.
> Thanks!
> 
> Mt

See http://www.w3.org/TR/xslt.html#output

You probably want to specify something like

  <xsl:output method="xml" encoding="8859_1"/>

Gary