Add a new line at the begining of a string in a Xquery ALSB3.0

Has anyone figured out how to Add a new line at the begining of a string in a Xquery in ALSB3.0?
Thanks for your Help.

I believe this is related to BI Publisher. Any comments would be greatly appreciated.
Thanks,
Sinan

Similar Messages

  • Can I add a new trigger to the beginning instead of at the end of a blank composition widget?

    Hi guys,
    I am creating a photo gallery page using the Blank Composition widget. I want to be able to add new content regularly by adding new photos to the top (beginning) of the gallery so my newest photos show at the beggining of the gallery.
    Currently, the little + symbol to add another trigger only adds a new trigger to the right (bottom) of group of triggers, effectively putting newly added content to the back of the gallery instead of at the front. Am I able to get it to add a new trigger to the beginning of the group and have that trigger be the first in the group to display?
    All the widget's seem to display this same order behaviour, so I'm quite stuck on how to get around this. I've tried re-arranging the triggers, but that has become insanely cumbersome every time I want to add new photos to the beginning of the group and move the older ones further down the gallery order.
    Any help would be greatly appreciated with this, cheers, David.

    OK
    I'm a newbie.
    I have the same problem. I've looked at some recommended 3rd party widgets and they don't do what I want either.
    Another method would be to start a nabble.com blog and embed that in to Muse, but then the news would not be seen by web crawlers and benefit your ranking on your own page. (I think)
    This is a rubbish work around but, I'm going to add a new news widget every month. I only get 5-6 bits of news a month, so by adding a new widget above the last each time, that will push the old news down the page.
    Hope this helps someone.
    Jay

  • How do add a new line in the JavaScript Editor?

    I have a script like this:
    var n = this.getField("score").value;
    if (n >= 0 && n < 5) {
        event.value = "The WP 100% Bond\nThe WP 10% Stock / 90% Bond\nThe WP 20% Stock / 80% Bond";
    I want to output that line like...
    The WP 100% Bond
    The WP 10% Stock / 90% Bond
    The WP 20% Stock / 80% Bond
    But it's not honoring the \n for a new line. How in the heck do you add a new line??? I've tried \r, \r\n, \n\n. All it does is add a character space, and looks like this...
    The WP 100% Bond The WP 10% Stock / 90% Bond The WP 20% Stock / 80% Bond

    You can use \n like you did to indicate a new line, or \r (carriage return). If it's not working, be sure to set the field to multiline on the Options tab of the field properties dialog.

  • How to add a new line at the end of eTEXT file

    Hi,
    I have modified the RTF template for the R12.1.3 Positive Pay File report (IBYPOS_PAY_en.rtf). Everything is good, except that the bank requires a "T" (Capital T) character in a new line at the end of the text file. Has any of you came across this before? How do I modify the template to achieve this?
    Thank you,
    Sinan Topuz

    I believe this is related to BI Publisher. Any comments would be greatly appreciated.
    Thanks,
    Sinan

  • How can I add a new section to the beginning of a song project?

    I've been trying GarageBand on my new iPad 3 as a practice aid. I laid down some guitar cords, then dupped some sections until I got a whole 64 bar song. Now, how the heck do I add a couple of intro bars? If I try to add a new two bar section, it always stays stuck at the song end. If I stretch section 1 by a couple bars, it adds the bars at the end of section 1, repeating the last cords, not very useful.

    If you open the section menu there is a tool consisting of three parallel lines. Tap this to reorder the sections.
    tt2

  • Adding a new value at the beginning of the list

    Hi,
    I've a list of values which are hard coded in the 'Elements in List' property for a Combo Box. Now, I want to add a new value at the beginning of the list. It doesn't allow me to add one. I have to delete all values and re-enter from the first which includes the new one. Is there any way that I can add a new value at the beginning of the list without having to remove other values.
    Thanks in advance.
    -- Srinivas

    Hi ,
    In order to implement the appropriate moves you have to use the key combinations : 1) <shift>+<ctrl>+'<' for deletion of the current list item(where the cursor is located)
    2)<shift>+<ctrl>+'>' for appending a blank row in order to add a new element...
    Regards,
    Simon

  • How do i add section on page to the beginning of a document

    i have finished a pages document but i need to add a  new section at the beginning of the document how do i do this?
    and how do i flatten my document so everything in anchored down and not moving

    Assuming Pages v5 on OS X, you place your pointer at the top of your document, and then Insert ▸ Section. You can verify this by View ▸ Show Page Thumbnails.

  • Add new line in the Flat file based on the field value

    Hi,
    Following is my Flat File -
    Customer   X      Y
    1001          1       2
    1002          0       1
    Based on the X and Y value I need to add new lines in the Flat file. If X>0 then add a new line with repeating row and Y>0 add again a new line with repeating row. If X or Y=0 then no need to add any repeating new line. 
    So, here for the above example I need output as-
    Customer    X    Y
    1001          1      2
    1001         1       2
    1001         1       2
    1002          0       1
    1002          0        1
    Suggest how we can achieve this?
    Regards,
    Tridib Konwar 

    Hi Tridib,
        I tried your scenario and You will have to use the custom xslt to get the expected result.
        Please find bellow the xslt code which you can use in your map.
    <?xml version="1.0" encoding="utf-16" ?>
    <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:msxsl="urn:schemas-microsoft-com:xslt" xmlns:var="http://schemas.microsoft.com/BizTalk/2003/var" exclude-result-prefixes="msxsl var" version="1.0" xmlns:ns0="http://PracticeAtul.XYFlatFileSchema">
    <xsl:output omit-xml-declaration="yes" method="xml" version="1.0" />
    <xsl:template match="/">
    <xsl:apply-templates select="/ns0:XYComp" />
    </xsl:template>
    <xsl:template match="/ns0:XYComp">
    <ns0:XYComp>
    <XYComp_Child1>
    <XYComp_Child1_Child1>
    <xsl:value-of select="XYComp_Child1/XYComp_Child1_Child1/text()" />
    </XYComp_Child1_Child1>
    <XYComp_Child1_Child2>
    <xsl:value-of select="XYComp_Child1/XYComp_Child1_Child2/text()" />
    </XYComp_Child1_Child2>
    <XYComp_Child1_Child3>
    <xsl:value-of select="XYComp_Child1/XYComp_Child1_Child3/text()" />
    </XYComp_Child1_Child3>
    <xsl:value-of select="XYComp_Child1/text()" />
    </XYComp_Child1>
    <xsl:for-each select="XYComp_Child2">
    <XYComp_Child2>
    <XYComp_Child2_Child1>
    <xsl:value-of select="XYComp_Child2_Child1/text()" />
    </XYComp_Child2_Child1>
    <XYComp_Child2_Child2>
    <xsl:value-of select="XYComp_Child2_Child2/text()" />
    </XYComp_Child2_Child2>
    <XYComp_Child2_Child3>
    <xsl:value-of select="XYComp_Child2_Child3/text()" />
    </XYComp_Child2_Child3>
    </XYComp_Child2>
    <xsl:if test="XYComp_Child2_Child2/text()!=0">
    <XYComp_Child2>
    <XYComp_Child2_Child1>
    <xsl:value-of select="XYComp_Child2_Child1/text()" />
    </XYComp_Child2_Child1>
    <XYComp_Child2_Child2>
    <xsl:value-of select="XYComp_Child2_Child2/text()" />
    </XYComp_Child2_Child2>
    <XYComp_Child2_Child3>
    <xsl:value-of select="XYComp_Child2_Child3/text()" />
    </XYComp_Child2_Child3>
    </XYComp_Child2>
    </xsl:if>
    <xsl:if test="XYComp_Child2_Child3/text()!=0">
    <XYComp_Child2>
    <XYComp_Child2_Child1>
    <xsl:value-of select="XYComp_Child2_Child1/text()" />
    </XYComp_Child2_Child1>
    <XYComp_Child2_Child2>
    <xsl:value-of select="XYComp_Child2_Child2/text()" />
    </XYComp_Child2_Child2>
    <XYComp_Child2_Child3>
    <xsl:value-of select="XYComp_Child2_Child3/text()" />
    </XYComp_Child2_Child3>
    </XYComp_Child2>
    </xsl:if>
    </xsl:for-each>
    </ns0:XYComp>
    </xsl:template>
    </xsl:stylesheet>
    If this answers your question please mark it accordingly. If this post is helpful, please vote as helpful.
    Atul Toke

  • How to add a new line in SMS(Line Break).

    Hi All,
    I need to send SMS from PL\SQL Procedure
    The problem i have been facing is that the string being passed in as sms content is not parsing a newline character.
    It shows all content in one line.
    I need to break them in several lines.
    Give me a direction how to add a new line in SMS.
    Regards,
    Raj.

    Hi,
    Sure, Here it is
    CREATE OR REPLACE PROCEDURE APPS.AUTO_SMS_RTV_REPORT
    IS
    sender          VARCHAR2(1000);
    recipient     VARCHAR2(1000);
    message          VARCHAR2(4000);
    sub          VARCHAR2(1000)     := 'HELLO';
    dt1          varchar2(1000)     := to_char(sysdate,'DD-MON-YY');
    mailhost     VARCHAR2(30) := '10.7.7.xxx';     
    mail_conn     UTL_SMTP.CONNECTION;
    v_crlf VARCHAR2(2) := CHR(13)||CHR(10);
    CURSOR cur_Rejection_Records IS
                   SELECT DISTINCT
                        rt.VENDOR_SITE_ID               ,
                        pvs.email_address     VENDOR_MAIL_ID     ,
                        pvs.PHONE          vendor_contact_no ,
                        hre.EMAIL_ADDRESS     Employee_mail_id ,
                        hre.FULL_NAME
                   FROM apps.rcv_transactions      rt,
                        apps.po_vendors           pv,
                        apps.po_vendor_sites_all     pvs,
                        apps.mtl_transaction_reasons mtr,
                        apps.fnd_user          fu,
                        apps.hr_employees          hre     
                   WHERE transaction_type = 'RETURN TO VENDOR'
                   --AND        TRUNC(rt.transaction_date) = TRUNC(SYSDATE)
                   AND     rt.vendor_id          = pv.vendor_id
                   AND     rt.vendor_site_id     = pvs.vendor_site_id
                   AND     rt.REASON_ID          = mtr.REASON_ID(+)
                   AND fu.user_id          = rt.last_updated_by
                   AND hre.EMPLOYEE_ID     = fu.EMPLOYEE_ID
                   AND TRANSACTION_ID IN (
                                  11902189,
                                  11902253,
                                  11902148)
    BEGIN
         FOR rec_Rejection_Records IN cur_Rejection_Records
         LOOP
         Begin
              sender     := '<[email protected]>';
              recipient     := rec_Rejection_Records.vendor_contact_no || '@aaaa.com';
              mail_conn := utl_smtp.open_connection(mailhost, 8025);
              utl_smtp.helo(mail_conn, mailhost);
              utl_smtp.mail(mail_conn, sender);
              utl_smtp.rcpt(mail_conn, recipient);
              utl_smtp.DATA(     mail_conn,
                                  'Date: ' || TO_CHAR(SYSDATE, 'Dy, DD Mon YYYY hh24:mi:ss') || utl_tcp.crlf ||
                                  'From: ' || sender     || utl_tcp.crlf ||
                                  'Subject: '|| sub     || utl_tcp.crlf ||
                                  'To: ' || recipient || utl_tcp.crlf ||
                                  utl_tcp.crlf ||
                                  'Dear Supplier,'||CHR(10)|| utl_tcp.crlf ||'\\\0x0A'|| -- HERE I NEED LINE BREAK
                                  'Please.'|| utl_tcp.crlf                          
              DBMS_OUTPUT.PUT_LINE('Yep !!! SMS Sent Sucessfully :) ');
              utl_smtp.quit(mail_conn);
         EXCEPTION
              WHEN UTL_SMTP.PERMANENT_ERROR THEN
                        dbms_output.put_line('Error - ' || SQLCODE || ' - ' || SQLERRM);
              WHEN OTHERS THEN
                        dbms_output.put_line('Error - ' || SQLCODE || ' - ' || SQLERRM);
         END;
         END LOOP;
    END AUTO_SMS_RTV_REPORT;
    /

  • Adding a new layer at the beginning

    I have created a flash file with 5 pictures, i wish to add a additional picture at the beginning (not the end) of the time line.
    Is there an easy way to insert this new image and move all the other images down along the time line so the new immage apopears first?

    Hi ,
    In order to implement the appropriate moves you have to use the key combinations : 1) <shift>+<ctrl>+'<' for deletion of the current list item(where the cursor is located)
    2)<shift>+<ctrl>+'>' for appending a blank row in order to add a new element...
    Regards,
    Simon

  • How to add a new line item to a Purchase Requisition number

    Hello All,
    Can anyone please provide me with some FM or BAPI to add a new line item to an existing Purchase Requisition number.
    Can it be done using BAPI_REQUISITION_CHANGE; if yes, then how do I pass the parameters into the BAPI tables..?
    Useful pointers would be appreciated...!!
    Thanks & Regards,
    Tarun Gambhir

    @Gautham,
    Thanks for the quick reply.
    I want to update the table EBAN, so should I use the parameter table XEBAN to put in the new line item and then execute..
    Also to fill up this table I need to pass certain value, so can I use BAPI_REQUISITON_GETDETAIL and pass the same details as found from the same BAPI and create a new line item...
    Regards,
    Tarun Gambhir

  • How do I add a new line to an already open but exhausted PO?

    Hello,
    I am looking for way(s) I can add a new line to an already open  PO, (whose funds are exhausted) to accomodate unplanned expenses related to the same project/vendor.  Is adding a new line to the original purshase requisition the right way to go?
    Thank you
    Fatima
    Edited by: Fatima Imraan on Jul 4, 2008 8:05 PM

    Hi Fatima,
    For unplanned expenses we actually do not need additional line item.
    In case the invoice from vendor shows other expenses then in MIRO there is a TAB for Unplanned Expenses and we can put such expenses there. These expenses should be with in the tolerances limits set. Now if the expenses cross the limit, depending on the settings you have made, the invoice is posted but blocked for payment. Then some one in the approval list should approve the same and the payment can be made.
    This whole process also gets recorded as PO history and hence is very well documented as well
    Normally once a PO is signed it is binding on both parties. So as a Business Process we should not try to add a line item when the PO is exsausted.
    In such case i think it would be a good idea to either create a new PO.
    Some times companies aslo use OPEN PO if it is a year round activity.
    Hope my explanation is useful. assign points if yes.
    Thanks
    Anand

  • Create a new line in the xml-header structure.

    Hi,
    Can any one tell me how to create a new line in the xml-header structure.
    I am doing a IDOC-XI-HTTP scenario.
    Actually my mapping create this file:
    <b><?xml version="1.0" encoding="utf-8"?>
    <ORDERS05>
      <IDOC BEGIN="1">
        <EDI_DC40 SEGMENT="1"> </b>
    The result must look like this.
    <b><?xml version="1.0" encoding="utf-8"?>
    <ORDERS05>
      <IDOC BEGIN="1">
        <EDI_DC40 SEGMENT="1"> </b>
    Thanks and Regards,
    Eren

    Hi,
    thanks for you quick answer.
    I found a xsl script.
    It works fine.
    <?xml version="1.0" encoding="UTF-8"?>
    <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
    <xsl:output method="xml" indent="yes"/>
       <xsl:template match="*">
          <xsl:param name="depth">0</xsl:param>
          <!-- New line with indenting. -->
          <xsl:if test="$depth > 0">
             <xsl:text>    </xsl:text>
          </xsl:if>
          <xsl:text>&#xA;</xsl:text>
          <xsl:element name="{name(.)}">
             <xsl:for-each select="@*">
                <xsl:attribute name="{name(.)}"><xsl:value-of select="."/></xsl:attribute>
             </xsl:for-each>
             <xsl:apply-templates>
                <xsl:with-param name="depth" select="$depth + 1"/>
             </xsl:apply-templates>
          </xsl:element>
       </xsl:template>
    </xsl:stylesheet>
    Best regards
    Eren

  • Add a new row at the top of a table in GUI

    Hi,
    I am using JDev 11.1.1.1.0. I need to be able to let users add a new row at the top of a table and not anywhere else in the middle of table rows. I cannot seem to find a way to do it. note that it does not matter where a new row gets inserted in the db, i am only concerned about restricting the insert in the GUI to the topmost line/row.
    Thanks,
    AJ

    Hi
    Can you try with writing your custom create method in application module and calling same from UI on command button action like
    public void createNewRow()
    ViewObjectImpl vo = getVO1();
    Row newRow= vo.createRow()
    vo.insertRowAtRangeIndex(0, newRow);
    Vikram

  • How to add a new Line in Labeltext of Ribbon button added in runtime ?

    HI , i'm adding a new buuton ribbon to an existing Tab (Edit Tab) , i use the AliasTemplate "o1" , and this is my button :
    The text "Mettre a jour la fiche a partir de la concept Note " is very long i want to add a new line after "a partir" so i will have two lines , this is what i tried but it dosent worked :
    private string btnUpdateForm = @"<Button
    Id=""Ribbon.Tab.GRP.ButtonUpdate""
    Sequence=""17""
    Image32by32=""/_layouts/images/Aidimpact.RibbonWorkflkow/export-icon.png""
    Description=""""
    Command=""Ribbon.Tab.GRP.ButtonUpdate.Click""
    LabelText=""ValValUpdateLabel1
    ValValUpdateLabel2""
    TemplateAlias=""o1""/>";
    private void AddBtnUpdate()
    // Get the current instance of the ribbon on the page.
    Microsoft.Web.CommandUI.Ribbon ribbon = SPRibbon.GetCurrent(this.Page);
    // Prepare an XmlDocument object used to load the ribbon extensions.
    XmlDocument ribbonExtensions = new XmlDocument();
    // Load the contextual tab XML and register the ribbon extension.
    int intLCID = System.Threading.Thread.CurrentThread.CurrentUICulture.LCID;
    if (intLCID == 1036)
    btnUpdateForm = btnUpdateForm.Replace("ValValUpdateLabel1", "Mettre à jour la fiche à partir");
    btnUpdateForm = btnUpdateForm.Replace("ValValUpdateLabel2", "\n \r\n de la Concept Note");
    else
    btnUpdateForm = btnUpdateForm.Replace("ValValUpdateLabel", "Update the form from Concept Note");
    ribbonExtensions.LoadXml(this.btnUpdateForm);
    ribbon.RegisterDataExtension(ribbonExtensions.FirstChild, "Ribbon.ListForm.Edit.Actions.Controls._children");
    Thanks for advance

    Hi,
       i replicated issue , and \n is not affective. So i guess what option you can try is to keep text small and use Alt to show full text. 
    Regards,
    Milan Chauhan
    LinkedIn
    |
    Twitter | Blog
    | Email

Maybe you are looking for

  • Using an IN Clause in a Stored Procedure

    Hello All: I have come to the conclusion that my stored procedure is having a problem with the use of an IN clause using a parameterized query. I have in my Stored Procedure the following: AND oh.status_flag IN (p_OrderStatus) The p_OrderStatus will

  • Macbook Lid closed External Display

    1) I have the Core 2 Duo Macbook with an external samsung display, bluetooth mouse/keyboard. When I close the lid on the macbook, I get the max resolution which is cool. How ever, I cannot remove the powercord. As soon as I remove the power cord, the

  • Date in GL Account Posting ?

    I am posting the GL a/c line items using BAPI_ACC_GL_Doc_post ...!! In the flat file , i get the dates as '01/01/2006' and i convert it to 8 format by using : split and concatenate . The internal table (line_t) for line items has posting date as '010

  • Web link in Flash Web gallery templates?

    I've created a number of HTML web galleries from templates, where you could have your id plate as a link. However the flash versions do have the ability to have your id plate be a link! I've tried to track down the file that I could change manually,

  • Can wpg_docload work with the embedded plsql gateway?

    Hi, Looking at all the sample code with wpg_docload.download_file. Put the following in a plsql region, but it does not work. Is it due to my running with the embedded plsql gateway, rather than http server and mod_plsql? Here's the code. The file ex