Return-Path: Delivered-To: apmail-xml-xalan-dev-archive@www.apache.org Received: (qmail 71464 invoked from network); 2 Apr 2010 14:48:18 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 2 Apr 2010 14:48:18 -0000 Received: (qmail 12256 invoked by uid 500); 2 Apr 2010 05:48:18 -0000 Delivered-To: apmail-xml-xalan-dev-archive@xml.apache.org Received: (qmail 12061 invoked by uid 500); 2 Apr 2010 05:48:18 -0000 Mailing-List: contact xalan-dev-help@xml.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: xalan-dev@xml.apache.org List-Id: Delivered-To: mailing list xalan-dev@xml.apache.org Received: (qmail 12053 invoked by uid 99); 2 Apr 2010 05:48:17 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Apr 2010 05:48:17 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,MIME_QP_LONG_LINE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of dipeshg@erevmax.com designates 207.44.156.45 as permitted sender) Received: from [207.44.156.45] (HELO mail.erevmax.com) (207.44.156.45) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Apr 2010 05:48:07 +0000 Received: from erev049 ([121.241.217.107]) by mail.erevmax.com (Merak 8.0.3) with ASMTP (SSL) id HM542575 for ; Fri, 02 Apr 2010 00:47:43 -0500 From: "dipesh" To: References: <4BAECDEC.5080509@yahoo.com> Subject: problem in disable-output-escaping Date: Fri, 2 Apr 2010 11:14:00 +0530 Message-ID: <11582811D59745029817E6281C5433E5@erevmax.grp> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0011_01CAD255.9B5C48D0" X-Mailer: Microsoft Office Outlook 11 In-Reply-To: Thread-Index: AcrR79CQXLEqypXRSryMwsYz97g6SAAN5yMA X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 X-Virus-Checked: Checked by ClamAV on apache.org ------=_NextPart_000_0011_01CAD255.9B5C48D0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi All, =20 I used XSLT for transforming one xml to another xml. =20 Input XML contain some ISO 8859 value like=20 =20
=20 öéÙÒ
=20 I am using xslt which looks like this=20 =20
=20 "öéÙÒ"
=20 Now I want that output xml shold be like this =20
öéÙÒ =20 öéÙÒ
=20 But it gives output like this =20
=F6=E9=D9=D2 = =F6=E9=D9=D2
=20 =20 Can anybody can tell me how I can solve this problem =20 DISCLAIMER This email message and any accompanying attachments may contain confidential information. If you are not the intended recipient, do not read, use, disseminate, distribute or copy this message or attachments. If you have received this message in error, please notify the sender immediately and delete this message. Any views expressed in this message are those of the individual sender, except where the sender expressly, and with authority, states them to be the views of eRevMax Technologies, Inc. Before opening any attachments, please check them for viruses and defects. ------=_NextPart_000_0011_01CAD255.9B5C48D0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable













Hi All,

 

I used XSLT for transforming one xml to another = xml.

 

Input XML contain some ISO 8859 value like =

 

         =             &= nbsp;           &n= bsp;  <Address Type=3D'1'>

         =             &= nbsp;           &n= bsp;      <AddressLine></AddressLine>

         =             &= nbsp;           &n= bsp;      <CityName>&#246;&#233;= &#217;&#210;</CityName>   =             &= nbsp;           &n= bsp;      =

         =             &= nbsp;           &n= bsp;  </Address>

 

I am using xslt which looks like this =

 

         =          <?xml version=3D"1.0" encoding=3D"UTF-8"?>

<xsl:stylesheet version=3D"1.0" xmlns:xsl=3D"http://www.w3.org/1999/XSL/Transform" = >

<Address>

           &= nbsp;           <xsl:attribute name=3D"Type" = namespace=3D"">

           &= nbsp;           &n= bsp;     <xsl:value-of = select=3D"string($var32_ProfileInfo/ns0:Profile/ns0:Customer/ns0:Add= ress/@Type)"/>

           &= nbsp;           </xsl:attribute>              &= nbsp;       <= /p>

               &= nbsp;           &l= t;AddressLine>

                        &= nbsp;      <xsl:value-of select=3D"string(ns0:Customer/ns0:Address/ns0:AddressLine)"/>= ;

           &= nbsp;           &n= bsp;   </AddressLine>

           &= nbsp;           &n= bsp;   <xsl:text disable-output-escaping=3D"no" >"&#246;&#233;&#217;&#210;"</xsl:text>=

           &= nbsp;           &n= bsp;   <CityName>

           &= nbsp;           &n= bsp;     <xsl:value-of  select=3D"$var32_ProfileInfo/ns0:Profile/ns0:Customer/ns0:Address/ns0:CityName" = disable-output-escaping=3D"yes"/>=

           &= nbsp;           &n= bsp;   </CityName>

           &= nbsp;        </Address>

           &= nbsp;      </xsl:stylesheet>

 

Now I want that output xml shold be like = this

 

                &= nbsp; <Address Type=3D'1'>

         =             &= nbsp;           &n= bsp;      <AddressLine></AddressLine>

         =             &= nbsp;           &n= bsp;       &#246;&#233;&= ;#217;&#210;

         =             &= nbsp;           &n= bsp;      <CityName>&#246;&#233;= &#217;&#210;</CityName>   =             &= nbsp;           &n= bsp;      =

         =             &= nbsp;           &n= bsp;  </Address>

 

But it gives output like = this

 

         =             &= nbsp;           &n= bsp; <Address Type=3D'1'>

         =             &= nbsp;           &n= bsp;      <AddressLine></AddressLine>

         =             &= nbsp;           &n= bsp;       öéÙ&O= grave;

         =             &= nbsp;           &n= bsp;      <CityName>öé&Ugrav= e;Ò</CityName>    &nbs= p;            = ;            =      =

         =             &= nbsp;           &n= bsp;  </Address>

 

 

Can anybody can tell me how I can solve this = problem

 

DISCLAIMER
This email message and any accompanying attachments may contain confidential information.
If you are not the intended recipient, do not read, use, disseminate, distribute or copy 
this message or attachments. If you have received this message in error, please notify the
sender immediately and delete this message. Any views expressed in this message are those 
of the individual sender, except where the sender expressly, and with authority, states 
them to be the views of eRevMax Technologies, Inc. Before opening any attachments, please
check them for viruses and defects.
------=_NextPart_000_0011_01CAD255.9B5C48D0--