XSLT mapping encoding for Korean language

Hi all,
I am using a XSLT mapping to ocnvert input XMl into flat file.Evrything seems to be working fine expect when Korean, Chinese, Vientam, etc characters are coming in the input file.
I think the above mentioned characters are occupying 2 bytes in the flat file due to which the position of the next field got misplaced in the flat file.
I tried with different unciode options in the following XSLT mapping.
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:ns0="urn:hsbc:a2r:corp:global:fi:paymentservice">
     <xsl:output method="text" omit-xml-declaration="yes" encoding="UTF-8"/>
     <xsl:template match="/">
          <ns0:PS>
               <Details>
                    <xsl:for-each select="ns0:PaymentService/Details">
                    <FileData>
                         <xsl:value-of select="FileData"/>
                    </FileData>
                    </xsl:for-each>
               </Details>
          </ns0:PS>
     </xsl:template>
</xsl:stylesheet>
Not sure which encoding should be used here...

> Not sure which encoding should be used here...
Ask your customer or project lead.

Similar Messages

  • CHARSET for Korean language to open Korean .wft files in workflow.

    Hi,
    I want to open Korean .wft files in oracle workflow builder.
    For that, I had given 'KOREAN_KOREA.KO16KSC5601' (and also 'KO16KSCCS' as charset) as the NLS_LANG value in the window registry but I am getting following error once I logged in to database using workflow builder:
    1300: Could not load.
    1114: Could not load from database.
    1101: Could not load item types from database. FILTER=%
    333: Could not set item type properties for 'FPAPJP'.
    332: 'SET' validation failed for item type 'FPAPJP'.
    306: Invalid display name 'Project Portfolio Analysis '.
    203: Value contains leading or trailing spaces.
    When I tried with 'KO16DBCS' charset, I am getting following error:
    1700: Could not connect with username/password 'apps/apps@cxlv1' ('ORA-01017: ‰•¥“‰„@¤¢…™•”…a—¢¢¦–™„^@“–‡–•@„…•‰…„
    though I am using the same username/password and tnsname that I am using to connect english and japanese .wft files.
    Please share with me the correct charset for korean language to be able to work with workflow builder.
    Thanks,
    Sumit
    Edited by: SumitBansal on Jan 7, 2009 1:30 PM
    Edited by: SumitBansal on Jan 7, 2009 1:32 PM

    Thanks for your reply...
    It didn't work..When I am giving AMERICAN_AMERICA.KO16KSC5601 as value for NLS_LANG, workflow builder is fetching wft only in American English !..
    Any other clue!!

  • XSLT Mapping: Namespace for prefix 'ns0' has not been declared

    Hello, I am working on a synchronous SOAP call and having some trouble with the response message. The web service has its own namespace and I am trying to convert this to my custom data type in PI. PI wants the message to be in format of having ns0 prefix and namespace like we have defined (http://foo for example).
    I have an XSLT mapping (see below) which works fine with my test response payload (pulled from SXMB_MONI source) on this online XSLT test site:
    http://www.freeformatter.com/xsl-transformer.html
    However when I import this archive to PI and test with operation mapping it always says "Namespace for prefix 'ns0' has not been declared."
    This is very confusing because when I test it online, I see both prefix and namespace declaration perfectly. Is there a way to see the results in the PI test tool? After this XSLT java error it doesn't give me the output even in Trace Level All mode.
    Please advise on this issue or if you know an easier way (such as altering my datatype/message type to match the inbound SOAP message). I tried working with the 3rd party WSDL but the response message types show a different root level node than what PI is receiving so I gave up to make my own matching datatype. I just have to solve this last inbound namespace issue and should be finished.
    FYI I have refreshed all PI caches and activated all objects.
    Thanks for your ideas!
    <xsl:stylesheet version="1.0"
    xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
    xmlns:ns0="http://foo"
      <xsl:output method="xml" indent="yes" omit-xml-declaration="yes"/>
      <xsl:template match="@* | node()">
        <xsl:copy>
          <xsl:apply-templates select="@* | node()"/>
        </xsl:copy>
      </xsl:template>
      <xsl:template match="/*">
        <xsl:element name="ns0:{local-name()}">
          <xsl:apply-templates select="@* | node()" />
        </xsl:element>
      </xsl:template>
      <xsl:template match="/">
        <xsl:element name="{local-name()}">
          <xsl:apply-templates select="@* | node()" />
        </xsl:element>
      </xsl:template>
    </xsl:stylesheet>

    Some additional info, here is an example payload which goes through the XSLT mapping perfectly, but in PI I get the error about missing ns0 declaration.
    XML input:
    <bar xmlns='http://irrelevantnamespace'
    xmlns:soap='http://schemas.xmlsoap.org/soap/envelope/'
    xmlns:xsd='http://www.w3.org/2001/XMLSchema'
    xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'>
    <foo/>
    </bar>
    XSLT mapped output using test tool and XSL above:
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:bar xmlns:ns0="http://foo">
       <foo />
    </ns0:bar>

  • Use of Orders05 Interface mapping & XSLT mapping file for Orders03 IDOC

    Hello Experts,
    In a scenario we are sending Purchase orders and Purhase Order change from SAP to SNC through XI.
    Currently Orders03 IDoc is used and standard mapping for Orders03 XSLT is used.
    Now the requirement is to use the same IDOC (Orders03) but
    - XSLT mapping (OrdersOrders05_ReplenishmentOrderNotification) and
    - Interface Mapping (OrdersOrders05_ReplenishmentOrderNotification_01) of Orders05.
    What changes would be necessary
    - On SAP side,
    - in the XSLT mapping, and
    - On XI side.
    Thanks in advance,
    Suraj

    Hi Suraj,
    First compare ORDERS03 IDOC and ORDERS05 IDoc structures,if both structures are same then u no ned to chnage the XSL it will work fine.
    If any chnages in ORDERS05 Idoc then u have to adjust XSLT as per ORDERS05 IDOC.
    test interface mapping first and let me know if any error.
    Regards,
    Raj

  • XSLT mapping code for N:1 mapping

    Hi Guys,
    I have got one scenario to collect 5 files to merge as one. To this scenario I want to use N:1 mapping. If I am not wrong, with XSLT mapping is easiest way to do this, please correct me if I am wrong. Can any one provide some links or code to merge these files into one.
    Thanks in advance.
    San

    what is correlation here?
    I have three messages coming into BPM....now all the three messages should have a field (any field) whose value will be the same in all the messages.
    Ex:
    <Message1>
    <Name>SAP</Name>
    <ID>40</ID>
    </Message1>
    <Message2>
    <Name>SDN</Name>
    <ID>40</ID>
    </Message2>
    <Message3>
    <Name>FORUM</Name>
    <ID>40</ID>
    </Message3>
    Now to correlate the above messages, the field ID would be used as it has the same value in all the messages.
    How does message mapping looks for the following messages
    In your BPM you will have a Transformation step....the mapping included here will have three source messages (File1, File2, File3) and there will be a single target message which will have the below structure:
    <ROOT>
    <OUTPUT> ...... 0..unbounded
    </ROOT>
    OUTPUT node of the target should be duplicated (right-click --> duplicate ... in message mapping).....do it twice so that you will have three OUTPUT nodes.
    Now each target-OUTPUT node should be mapped to the source OUTPUT node, respectively.
    Regards,
    Abhishek.

  • How is Pages for Korean language?

    hi there...
    i have MS Office... i like this s/w BUT there is only one problem....
    MS sales only one-language-capable per CD /version...
    what i mean is that they are not like Apple that support almost all the languages worldwide... i have to buy one MS Office CD for english and another for Korean...
    so my question is:
    anyone using iWork (specially Pages) for Korean ?
    I don't want to spend more $$$ to get a korean version of Office...
    but i'd like to know how Page handles .doc documents....
    u know, heavy pics, graphs, charts etc....
    how are documents seen when saved under Pages and opened in Word and viceversa?
    please help me make up my mind to purchase one appropiate piece of s/w for my need...

    Hello Sungyub Han,
    I don't know if Pages has a GUI in Korean language (I have deleted all the languages I don't need), but there is no Korean spell checking in my version of Pages.
    A few of my clients send me Word documents for project informations and Pages opens them fine. But this are mostly text heavy contents with images and simple tables, so I don't know how Pages will open charts. I think that Pages will have problems with older Word document versions, because older ".doc" files can't be opened in newer Word apps in Windows without trouble, too. Of course, there can be the missing font problem for specific fonts your Mac has not installed as well.
    That is the only way I use Word documents, but the other direction is most similar, but I haven't tryed it. Wait a bit and other members will give you more detailed experiences about this.

  • About File Encoding for multiple Languages

    Hi My Scenario is Paroxy to File.
    I am getting multiple languages from the proxy and need to write all the languages in one scv file.
    I used UTF-8  File Encoding in the receiver file channel so that all languages comes except Hebrew.
    I want to write Hebrew language also in the same file.
    If i use ISO-8859-8 Hebrew language writes and other languages are showing as some special characters.
    How to sole this problem? I want to write the file with all the languages.
    Thanks

    > I used UTF-8  File Encoding in the receiver file channel so that all languages comes except Hebrew.
    > I want to write Hebrew language also in the same file.
    Are you sure that it is not like the hebrew characters are part of the file but you cannot view it?
    > If i use ISO-8859-8 Hebrew language writes and other languages are showing as some special characters.
    same here.

  • XSLT mapping - Mapping of unbounded elements using Altova Mapforce

    Hi,
    Please give guidance on doing XSLT mapping for unbounded elements in Altova Mapforce. I am not seeing any functions (like FOR loop etc.,) in the XSLT mapping screen for the same.
    I appreciate your input.
    Regards
    Ramesh

    HI,
    For XSLT Mapping refer this help to get functions,syntax etc-
    http://www.w3schools.com/xsl/default.asp
    Regards,
    Moorthy

  • XSLT mapping with Java

    Hi,
    I'm trying to do my first XSLT mapping. For that, I'm testing the SAP example found in XI help: it's a concatenate function between a FirstName and a LastName which uses Java function "Merge".
    But... I have this error:
    <i>Unable to find resource com/company/group/MappingClass.class (http://test, -1) in the following software component versions: 60530c50-5a4c-11d9-9740-cb29ac1601f1</i>
    Do I declare the Java class "MappingClass" or "Merge" function somewhere in XI?
    Regards.
    Mickael.

    Unfortunately there are some errors in the documentation:
    In the XSLT:
    <xsl:if test="function-available('javamap:merge')">
    Here "merge" is wrong, write "concat" instead.
    In the Java Class:
    private MappingTrace trace = zero;
    This declaration has to be static, and of course "null" not "zero"
    To compile the Java Code, you need the library aii_map_api.jar.
    I have put all here:
    http://de.geocities.com/stefan_grube/MappingExample.zip
    Upload MappingExampleXSLT.jar and MappingExampleJava.jar as "Imported Archive" under "Mapping Objects"
    For testing use the file testXSLT.xml.
    Regards
    Stefan

  • Need XSLT mapping or Java code?

    Hi All,
    I have a scenario JMS to Proxy.At sender side i will get complete XML payload in the single string.
    Root
      XMLpayload
    in XMLpaload i will get complete data in XML format.
    receiver side the structure is like this.
    Root
      Header       Header occurence is only once
         hr1
         hr2
         hr3
      Item           Item ocurence will be 0 ..U
         item1
         item2
    I need the code for XSLT mapping or for JAVA code that can be written in mapping.
    Regards,
    Phani

    Hi,
      could you please let me know, what is your source data type.
      by using node functions like split value , collapse context and foramt example.
    we can get th out put i the required format.
    pls let me know, your source and target data type.
    wamr regards
    mahesh.

  • Xi xslt mapping

    1.where do I write the xsl mapping?
    2.Do I need to import the xsd and namespaces for applying xsl onto the xml files(outbound xml and Inbound xml) in these IDEs?
    3.How to test whether applied xsl mapping on the Outbound xml data is mapped to Inbound or receiving xml file?
    4.how should I use this xslt developed outside XI and use it in XI?
    1.You can use any available XML transformation IDEs like Xml Spy or Stylus studio.
    2.  No. There is no need to import neither these xsd nor the necessity to create namespaces. You just create Outbound xml file with same structure as in xi and apply the XSL to that xml file.
    3.Here testing outside      XI means just transforming the outbound xml data into inbound xml data with whatever elements you want by applying the XSL.
    when you import this xsl file in XI as archive file you insert the namespace in the root element of the creating inbound xml tree in xslt.This namespace is very import.
    4.You should zip this xslt file and in XI goto Mapping objects and right click on imported archives and select new.goto the ziped files directory and click import archive button.To use this xslt mapping go to the interface mapping and in mapping program select xsl from the drop down and select the imported xslt mapping.

    Thanks for the suggestion,
    completely forgot about the simpler <xsl:message/> command. I tried this, and it worked fine in Stylus.....but not in XI.
    I think the problem s when the file is being loaded. An alert box pops up. It says
    "Transformer configuration exception occurred when loading XSLT GDS_to_DP.xsl (http://sap.com/xi/GDSConsole, 155fc320-f69f-11d8-97f7-c0140a114c15, -1)"
    and the trace window says this
    "10:00:13 Start of test
    Creating XSLT mapping GDS_to_DP
    URIResolver called with href = GDS_DP_Common.xsl and base = GDS_to_DP.xsl
    Source resolved. System id = GDS_DP_Common.xsl
    10:00:14 End of test"
    It seems obvious (from deduction) that the problem lies in GDS_DP_Common.xsl. XI will not give me any information precisely where this occurs
    Thanks for you earlier answer Alessandro

  • Regarding XSLT Mapping

    HI friends,
                   I need the xslt mapping code for the following input. my input is i a have different fields in employee table   in source side i need all the source fields bonded into a single string i target side.please send me the code if anybody have.

    Hi Uday
    The following structures i have used
    1. First you have to get the XML structures from the message mapping.
    Source Structure having like Name,City,Ph
    <?xml version="1.0"?>
    <TBL1>
         <Record>
              <Name>AAAA</Name>
              <City>BBBB</City>
              <Ph>123456</Ph>
         </Record>
    </TBL1>
    Target Structure having only one tag.
    <?xml version="1.0"?>
    <TBL2>
         <Record>
              <Name_City_Ph>AAAA</Name_City_Ph>
         </Record>
    </TBL2>
    Final XSLT mapping for the above structures.
    <?xml version='1.0' ?>
    <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
    <xsl:template match="/">
    <TBL2>
    <Record>
    <Name_City_Ph>
    <xsl:value-of select="concat(TBL1/Record/Name,TBL1/Record/City,TBL1/Record/Ph)"/>
    </Name_City_Ph>
    </Record>
    </TBL2>
    </xsl:template>
    </xsl:stylesheet>
    If you use Stylus Studio the XSLT mapping is very easy,  XSLT code automatically generates by the Stylus Studio.
    Thanks.
    Satish.

  • Korean Language Support Package required for Reader but not Acrobat?

    One of our departments on campus has created a form that is causing some users to get a message prompting them to download the Korean Language Support Package in order to fill in the form fields.
    When I originally tested this in Acrobat Pro 9 I didn't get any errors.  Another user also reported the issue recently (two this week).  So we tested it again, but this time used both Reader 9 and Reader X -- both programs were generating this message to download the language pack.  The form appears to be completely in English with no Korean characters.  It uses fairly standard fonts and I didn't see any embedding or encoding issues with the fonts.
    Aside from having end users download a Korean Language Support Pack to view a PDF that doesn't seem to contain any Korean, are there any other options out there without recreating the form from scratch?  Here is a list of the fonts used in the PDF.  The only types of encoding are Ansi and Identity-H (which I expanded in the SS above), with the latter fonts being embedded within the PDF.
    Any ideas?  The form is linked below.  Thanks in advance for your replies.
    Here is a link to the PDF

    SOLVED
    While our problems differ, my solution may still be relevant.
    My culprit was a rogue font in an embedded Visio drawing. I identified and located the font using the "List text using non-embedded fonts" Preflight analysis in Acrobat 9.4 Pro. I checked the encoding of each non-embedded font and discovered that Arial Unicode MS used Korean font encoding (specifically, KSCms-UHC-H). See screenshot below. Doubleclicking on one of the font properties highlighted the offending text in the pdf.
    I went to that location in the source file, which happened to be in the first embedded Visio drawing (shown above). I double clicked the drawing, selected all, and selected Arial font. Then I regenerated the pdf and viewed it in Reader X. The Korean language pack error message did not appear and all Visio drawings displayed normally.
    I would recommend using the Acrobat preflight tools to locate text or objects with incorrect font encoding within your PDF or form, then surgically striking (or carpet bombing) the affected location(s) in the source files with embedded/supported fonts.
    Hope this helps.
    Message was edited by: mugg326

  • XSLT Mapping with Dynamic Configuration for Mail Adapter

    Hi Guys,
    I am wondering if somebody can help me please.
    I have a requirement in which I need to pick up the file from FTP and email it to the user as an attachment with the same file name and content.
    I know it is possible via 3 method either by deploying adapter module or via XSLT or JAVA Mapping.
    I preferred XSLT Mapping because it is easier to use and we don't need to compile the code like JAVA Mapping.
    I have done the XSLT Mapping but the only problem I am facing is that how to copy the file name which we get it from Dynamic Configuration to the Mail ContentDisposition.
    <?xml version="1.0" encoding="UTF-8"?>
    <xsl:stylesheet version="1.0"
      xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
      xmlns:map="java:java.util.Map"
      xmlns:dyn="java:com.sap.aii.mapping.api.DynamicConfiguration"
      xmlns:key="java:com.sap.aii.mapping.api.DynamicConfigurationKey">
    <xsl:output indent="no" />
    <xsl:param name="inputparam"/>
    <xsl:template match="/">
    <!-- change dynamic configuration -->
        <xsl:variable name="dynamic-conf" 
            select="map:get($inputparam, 'DynamicConfiguration')" />
        <xsl:variable name="dynamic-key"  
            select="key:create('http://sap.com/xi/XI/System/File', 'FileName')" />
        <xsl:variable name="dynamic-value"
            select="dyn:get($dynamic-conf, $dynamic-key)" />
        <xsl:variable name="dummy"
            select="dyn:put($dynamic-conf, $dynamic-key, $new-value)" />
        <!-- copy payload -->
    I tried many option but unfortunately none of them worked.
    <Content_Disposition>attachment;filename="$inputparam"</Content_Disposition>
    <Content_Disposition>attachment;filename="$dynamic-conf"</Content_Disposition>
    <Content_Disposition>attachment;filename="$dynamic-key"</Content_Disposition>
    <Content_Disposition>attachment;filename="$dynamic-value"</Content_Disposition>
    <Content_Disposition>attachment;filename="$dummy"</Content_Disposition>
             <Content_Disposition>
                attachment;filename=
                <xsl:value-of select="dynamic-key"/>
             </Content_Disposition>
    I really appreciate if someone can please provide some guidance.
    Thanks,

    Hi,
    Yes u r correct it will show error in operation mapping.. bcoz u cannot check the DynamicConfiguration in Operation mapping...
    It will throw Exception..
    The parameter to UDF depends on ur requirement.... Let us know ur requirements exactly...
    If u r doing for file to file means no UDF required,, just check ASMA on both sides....
    Babu

  • XSLT Mapping for creating Excel files

    Hi ,
    I am following the blog /people/michal.krawczyk2/blog/2005/12/10/xi-generating-excel-files-without-the-java-nor-the-conversion-agent-not-possible by Michal regarding conversion of Flat files to Excel file format.
    My input xml format is
             <?xml version="1.0" encoding="utf-8"?>
             <FILE>
                  <Record>
         <Name>Navin</Name>
                         <EmpID>123456</EmpID>
                         <Location>Bangalore</Location>
                  </Record>
                 <Record>
         <Name>Ravi</Name>
                         <EmpID>789456</EmpID>
                         <Location>Hyderabad</Location>
                  </Record>
             </FILE>
    i need to convert this file into an Excel format with each record in single rows with Column Header names as Name,EmpID,Location.
    Could you please suggest how the XLST mapping should be done for this as i am very new to XSLT mapping concept.
    Please suggest how we can attain the target structure(datatype) and  steps to do this XSLT mapping.
    Note:- We are not doing Adapter module for this conversion.
    Thanks,
    Navin

    > i need to convert this file into an Excel format with each record in single rows with Column Header names as Name,EmpID,Location.
    This can be done with file content convertion. Use delimiter ; for excel
    > Could you please suggest how the XLST mapping should be done for this as i am very new to XSLT mapping concept.
    If you do not understand XSLT, you you want to maintain your development, in case if an error?
    http://w3schools.com/xsl/default.asp

Maybe you are looking for

  • Some doubts in copy control from billing doc to invoice list

    Dear all, The value of allocation number in FI doc can be customized as:  A (PO number), B (Sales order num.), etc. But how can I make it to be assigned an alternative value (for example, we have do an add-on "invoice" then we hope our invoice no. be

  • How do I create an application with lots and lots of text?

    I was asked to create an application for the iPad. This application contains a lot of static text. With "a lot" I mean Mb's of text which should be represented in a visual attractive way. One can think of this application as a website but than in app

  • ALV GRID - Text for Grand Total

    Hi guys, In ALV Grid, i need to display the Text 'GRAND TOTAL' at the left side of the row(Yellow line). I have tried searching in the forum but didn't get the answer. Please advice. Thanks Chintu

  • I- trigue 3330 2.1

    Hi Everybody, After I moved into my new flat I installed my I-Trigue speaker system again but i cannot get any sound. Before disconection of all the computer/speaker cables, everything was working perfectly. I can get sound with my headphones from th

  • My Safari page (with Lion) suddenly doubles in size?

    With Lion, my Safari pages suddenly double in size with a slight movement of my mouse. Any ideas on how to fix this?  Also, with Lion, when I leave my iMac for some period of time, the pages freezes and the cursor point pixilates when I move the mous