Problem with translate

Hi
in XSQL i am one getting one row like this
<REASON_FOR_REJECTION>1.Overhead line is not existing in front of the premises,2.The distance from the pole to the serice is more than 30 meters.,3.Another service is existing in the same premises with arrears.</REASON_FOR_REJECTION>
In the above String for every comma i want to put <br>
the output should come like this:
1.Overhead line is not existing in front of the premises
2.The distance from the pole to the serice is more than 30 meters.
3.Another service is existing in the same premises with arrears
i have used translate function like this <xsl:value-of select="translate($REASON_FOR_REJECTION,',',<br>)'"/>
but i couldnt get proper result;
How can i do this ??? PLZZ HELP

Chaitanya,
Try this...
<xsl:template match="REASON_FOR_REJECTION">
<xsl:variable name="comma">,</xsl:variable>
<xsl:value-of select="translate(.,$comma,'&lt;br&gt;')"/>
</xsl:template>
Hope this helps.

Similar Messages

  • Problem with translate function (C++ parser v9)?

    When upgrading to v9 of the C++ parser, we notice a problem with the translate function within xsl stylesheets. Take the following snippet :-
    <StartDt><xsl:value-of select="translate(string(CheckInDate),'-','')"/></StartDt>
    Previously, this statement would strip the '-' chars from our input dates of the form 2002-05-02 to give 20020502. It now does not replace the '-' chars which causes our transformed output to be invalid. We have many developed and tested xsl's which now don't work.
    When we revert to v8, the same xsl's work correctly.
    This happens on all platforms (Windows/Linux/Solaris).
    Anyone else noticed this?
    Regards,
    Mike

    It worked for me as well.
    Use DUMP to find out the char code used for é and ú and try to replace these character codes.
    On my system it is 130 and 163
    SELECT TRANSLATE('héllú wúrld', 'éú', 'eu'),
           dump('héllú wúrld'),
           TRANSLATE('héllú wúrld', chr(130)||chr(163), 'eu')
    FROM   dual;
    hellu wurld
    Typ=96 Len=11: 104,130,108,108,163,32,119,163,114,108,100
    hellu wurld

  • Problems with translated text in captivate 7

    I want to create a multilingual e-learning version. I can translate all texts. Unfortunately I can not change the selected text in the pop up window. I have no idea how I can change this text. Can someone give me a tip.

    Hellou guys, Somethink similar: After installing 7.0.1 patch the project created 7.0, lose translated text inside Succes/Failure etc. captions and show default English texts, for example in quizes captions. Hmmm... In preferences dialog default labels are still translated, but after publishing project, the captions are English.  So I used trick - Find/Replace dialog - and change manually all text captions with translated version. After publishing works fine. When I create new project directly in 7.0.1, there are no problem Perhapse, small bug. Can live with it because the new enhacements inside 7.0.1 is much important.:)
    best regards
    Yarik

  • Shared objects problem with translation

    Hello
    Here is my problem :
    - my default portal language is French, and I login in French.
    - I create a navpage in the "Shared objects" pagegroup. At Portal installation,
    this pagegroup is in English, and there's an available translation in French.
    - When i see my navPage being logged in French, the SmartLinks (Home, etc)
    always display in English while i expected them to by in French.
    - I don't have this problem in a "normal" pagegroup created in english and
    translated into French.
    regards
    A.

    I have a second problem with shared objects :
    So, i created that navpage and published it as a portlet to use it in pages but
    when it doesn't appear in the portlets lists. In what Submenu of the porlets
    navigator is it supposed to appear ? It is not in the "shared instances", and i
    can't see any other "shared" directory.

  • Problem with "Translation" Widget

    Hi all,
    i've got a problem with the translation widget; you can see an image here: http://tinypic.com/view.php?pic=432b9l5
    How can i solve the problem?
    Bye.
    Thanks.

    Hi.
    Try this: Open Terminal and type at the prompt:
    Killall Dock
    that will quit Dashboard and relaunch the Dock. Then go to User/Library/Preferences and trash:
    widget-com.apple.widget.translation.plist.
    Then go to User/Library/Caches/DashboardClient folder and trash the subfolders inside it (they are numbered 01, 04, etc. This will clear the Dashboard cache).
    Open Dashboard and verify if it works.
    MacMini G4 1.25GHz 1GB   Mac OS X (10.4.9)  

  • Problem with translation transport

    hello everybody,
    I have an application with two corresponding transport requests (this is because I would like to transport to different systems only part of the functionality of the app). Recently a translator made an English translation of my application which resulted in a new transport request with about 100 new objects. I would like to distribute accordingly these objects to the two old transport requests ( respectively the two parts of the app). Is there a way to do this, to find out which translation object belongs where?
    Thanks

    problem with translation transport
    Same message here?
    Regarding to the issue, perhaps giving some information would be helpful. What kind of objects are them? (Data element, message class? )
    Best regards,
    Matyas

  • Problem with translations

    Hi,
    I'm dealing with translations at the moment using transaction se63.
    When it comes the time of looking at the result, two things happen mainly:
    - The translation doesn't work
    - Or it takes ages to show up
    Does anyone knows a way of activating the translations automatically by means of a report or whatever?
    Thanks and regards,
    Paula

    Hi,
           Go to se63 t-code menu - >Translation->ABaP objects -> translated objects.
    enter the R3TR in one text box , in the second box enter the object name ie if table is been translated then give as TABL, in the third text box give table name.
    click on edit .change the text .
    after that execute the report RS_LXE_RECORD_TORDER, enter the target language as en , then on the application toolbar click on the second push button ie create request cntrl + f1, after creating the request execute the report, the result is that the request which is created by you will have all the translation done by you
    regards,
    Santosh Thorat

  • Problem with translation of Adobe forms

    Hi Friends,
    Right now I am working with Adobe forms.
    While Translating the forms from English into Spansih I am encountering a problem.
    Even though it is Translated into spanish, if I login in spanish (ES) and see the Text is stil in English.
    the text is in 'TEXT' field.
    Kindly, Help me in solving the problem.
    Regards,
    Xavier.P

    When translating your form MAKE SURE YOU LOGIN TO SAP WITH THE TARGET LANAGUAGE FOR TRANSLATION!
    For example, if you have an english form and want to translate it to spanish, login in spanish, go to SFP and do your translation to spanish. It should have a pop-up shown that says "original language" is English....keep it as that.
    Not sure why it works this way, but it does. I would love to be able to login in English and then simply do all my other translations from there, but it doesn't work that way.

  • DHTML Menu - Problem with Translation

    I have the DHTML menu installed within portal and have just added a "French" Translation to a few of my page groups. When I flip over to French using the "Set Language" portlet, the menus no longer show up.
    In addition, when I edit the menu, none of my page groups are there to select as the basis for my menu.
    Is there any way to make the menu compatible with Portal's Translation function? Has anyone else encountered this problem?

    Hi there
    I'm getting the same problem. I'm trying to add Portuguese translation and the dhtml menu simply disappears.
    How can i solve this problem?
    I don't think it is a issue with the code because it works fine for both languages in another page group.
    Can anyone help please?
    Regards,
    Sonia

  • Russian Translations problem with Translation Tool Package

    Hello Everybody.
    I'm doing some translations and whenever I try to paste a Russian text into one of the messages in TTP, the app transforms the Russian characters into question marks. For example:
    Предупреждение: Контактное лицо X не имеет связи с Бизнес-Партнером Y. Но Активность будет сохранена.
    TTP Transforms it into:
    ??????????????: ?????????? ???? X ?? ????? ????? ? ??????-????????? Y. ?? ?????????? ????? ?????????.
    Did anyone come across with this problem?
    Please any information would be helpful.
    Regards,
    Gerardo

    Hello
    It looks like Translation Tool Package does not support russian character set and that's why it is displaying as '?' which means character is not recognized by the application.
    Are you able to type the russian text in a note pad?? If you can type and text is proper, Operarting System is able to recognize russian characters, and not the TTP.
    If it displays '?' in the notepad also, it means OS is not able to identify the Russian character set. In this case, you need to install the russian character set in the machine.
    Can you please provide which CRM mobile release you are currently using. In case if you are using CRM 5.0 or above, you can translate the texts using Mobile Application Studio itself.
    Regards
    Shankar

  • Re.problems with translator after converting pdf file.please help:-)

    Please can someone help me.
    i've converted a pdf file to a word document but it was a scanned document so word had to translate it but its come out as a load of gibberish.
    i have over a hundred pages of corrections to make because of it so i was wondering if any of you could either tell me what i could of done wrong r tell me how to do it right:-)
    thanks a bunch!!!

    You cannot use Reader to do what you want. Depending on the language of your original document, you might be able to convert the document from a scan to text with Acrobat Professional.  You can also investigate programs that are dedicated to OCR.

  • Problem with translation

    Hi all,
    I notice a phenomen with the teamviewer.
    when my portal is in french, teamviewer is in french(it displays french sentences). When I configure my portal in english, teamviewer stay in french !
    I logged off and close my browser.
    One moment after, I connect to the portal(which the language is english) and the teamviewer is in english.
    Do you know the problem(session surely)? If you have any suggestions or tips, thanks.
    Best regards
    Nicolas

    Hi Nicolas,
    Have you tried refreshing the teamviewer with the icon in the tray?  Another thing that may matter is the language that your web browser is set to, or even possibly the language the computer is set to...
    Just a thought.
    Kevin

  • Problem with translation of Area Manu.

    Hi
    I need to translate the AREA MENU (T-code SE43)
    The steps followed:
    1) Go to SE43 in change mode
    2) Goto menu: Utilities-> Translation
    3) Made the translation
    4) Saved & activated... It asked for the transport tequest.
    When the request was transported the changes(translation) did not get reflacted in the target system.
    Could you please suggest how to translate Area Menu so that the changes go to the target system
    Thanks!

    Hi
    The text of the menu can be bufferd, try to run the report BMEN_CORRMEN1 in target system
    Max

  • Problem with translation builder

    i need to use translation builder to translate reports and forms from English into Arabic
    i had ran the script sqlbld.sql
    and all tables are created
    i started new db connection then create a new project when i import the module i get the error
    NX-00201
    please i need help

    Welcome to the Oracle Forms Forum. ;)
    Please start here:
    https://blogs.oracle.com/shay/entry/10_commandments_for_the_otn_fo

  • Problem with translation (OTR)

    I made buttons for the navigation part of a web side as follows:
    Methode for the button:
    <i>
    METHOD BSP_BUTTON .
      CONCATENATE
      '<tr>'
      '<td><a class=button href="'
      IM_URL
      'height="19"></a></td>'
      '<td background="b_mitte.gif" nowrap '
      'style="VERTICAL-ALIGN: middle"'
      'height="19"><a class=button href="'
      IM_URL
      '">'
      <b>IM_TEXT
      '</a></td>'
      '</tr>'
      INTO RE_HTML.</b>
    ENDMETHOD.
    </i>
    For the navigation I made a page fragment:
    <i><%@page language="ABAP" %>
    <br>
    <table border=0 cellpadding=0 cellspacing=0 "bspTbvStd">
    <tbody>
    <tr>
    <%= application->bsp_button(
    im_text = <b>'START '</b>
    im_url = 'index.htm' )%>
    </tr>
    </i>
    If I open the page fragment, the text 'Start' is written on a button. But I want to change the text 'Start' to an element of my OTR (for example $TMP/ZSAN_START').
    Can you help me how to change the bold code to make it suitable?
    <b>Message was edited by: Michael Gaidies</b>

    hi michael
       i'm not sure but try this one
    height="19"></a></td>'
    '<td background="b_mitte.gif" nowrap '
    'style="VERTICAL-ALIGN: middle"'
    'height="19"><a class=button href="'
    IM_URL
    '">'
    <b>'<%= otr('
    IM_TEXT
    ')%>'
    </b>'</a></td>'
    '</tr>'
    INTO RE_HTML.
    ENDMETHOD.
    and send im_text as '$TMP/ZSAN_START'.
    otherwise you may get the text of otr in the method by using
    cl_bsp_runtime=>get_otr_text('$TMP/ZSAN_START').
    then just concatenate this text as it is you did.

Maybe you are looking for

  • Error while updating appraisal

    dear All, One user is getting error while updating on appraisal. It works fine for all other users. Below are the details of error. Appreciate response on this. Error Page Exception Details. oracle.apps.fnd.framework.OAException: java.lang.NullPointe

  • Class cast exception when deploying in Solaris

    I have an application which has LdapRealmV2 configured and I'm programmatically checking permission for a group. The code when deployed on a windows environment is working fine. I now tried to deploy the same in a Solaris clustered environment. I get

  • How to cluster ISE 1.2.1.98

    Hi Team, I have 6 boxes of ISE and we planned to make 2 as a PSN's. how about other 4 ISE ...? How should i cluster them as admin and monitor nodes..?

  • [Solved] wine: restricting execution to specific user/group safe?

    From what I understand, the way of exploiting a bug in a browser and launching malware in the background won't work with wine as the malware injector calls "some.exe", not "wine some.exe". So using wine is safe unless the person is "dumb" enough to e

  • Safari 5.1 won't work right

    When running 5.1 my forward/back buttons won't work until I open the customize toolbar box and then the back button will work but I cannot get the forward button to work. This is some of the weird things that are happening trying to use 5.1. This is