For Each function for a Concat Value

Hi:
The scenario is, we need to concat two unbounded elements and map it to a target element using for each functionality.
For example
<BookStore>
<Books>
<Name>NAME1</Name>
<Author>AUTHOR1</Author>
<BookId>1</BookId>
<Quantity>2</Quantity>
<Price></Price>
<Status></Status>
<Books>
<Books>
<Name>NAME2</Name>
<Author>AUTHOR2</Author>
<BookId>2</BookId>
<Quantity>2</Quantity>
<Price></Price>
<Status></Status>
<Books>
</BookStore>
I need to concat "Name" and "Author" which is under the unbounded element "BookStore" and map it to a single element called "Sample" on the Target side.
I am not able to use the "for-each" XSLT function to get the multiple value of Name and Author since concat function is used. Is there any other way to concat and get the multiple values of the element "Name" and "Author"?
Regards
RK

Hi Vlad:
Ok i use for-each function in my XSLT to get the vlaues of unbounded elements
eg:
<xsl:for-each select="/BookStore/Books/Name">
<request:Sample>
<xsl:value-of select="/BookStore/Books/Name"/>
</request:Sample>
</xsl:for-each>
This works perfectly fine and whenever there is a multiple vlaue for Name it is mapped to Sample and output comes as expected
<Sample>NAME1</Sample>
<Sample>NAME2</Sample>
Now i need to concat the Name and Author and pass the value to element on the target. Since name and author occuring multiple times, i am not sure how to pass the values to the element on the target

Similar Messages

  • For each and for all functions,personal conection

    Hi
    I have a questions like
    can i use for each function footer in the report.
    do i export personal connection into repositary if it possible any difference.
    How running sum will claculate in the report.
    Please any body clarify me
    Regards,
    Madhu

    hi,
    "Personal Connection" cannot be exported to repository.
    i.e. A Universe which is developed using personal connection can't be exported to BO Repository. As a result, this Universe and connection will not be available to the Other Repository Users.
    Running Sum
    It is similar to RunningTotal in Crystal reports.
    for eg. you have the below data.
    A 20
    B 5
    C 30
    If you insert a Running sum field to the above table
    RunningSum([Revenue])
    following are results.
    A 20 20
    B 5   25
    C 30 55
    Regards,
    Vamsee

  • For Each Loop for XML Task

    Hello Everyone,
    Please assist with a step by step guide on how to setup a For Each Loop for XML Task
    I'm trying to convert XML to XSLT
    I have tried more than 10 times and i just do not know what i am doing wrong - no error, my package just runs for a few seconds but nothing happens
    Thanks in advance
    Dee

    I managed to get my XML to XSLT to work but now when i run my package to import the data into SQL table,
    it stops after a few records, i get the following error: 
    [XML Source [1]] Error: The component "XML Source" (1) was unable to process the XML data. The element "Errors" cannot contain a child element. Content model is text only.
    Please assist
    Check this:
    http://social.msdn.microsoft.com/Forums/en-US/80726e0c-9e85-43ca-87bc-7cf90fd7fb31/xml-source-data-flow-throws-cannot-contain-a-child-element-content-model-is-text-only-error?forum=sqlintegrationservices
    Chaos isn’t a pit. Chaos is a ladder. Many who try to climb it fail and never get to try again. The fall breaks them. And some are given a chance to climb, but they refuse. They cling to the realm, or the gods, or love. Illusions. Only the ladder is real.
    The climb is all there is.

  • I have created a newsletter in indesign cs4 how can I set zooms for each article for the user

    I have created a e-newsletter in Indesign. I have successfuly saved it as a SWF then as a PDF from acrobat.
    The problem is that when the user zooms in the resolution is not good.
    How can I let the user zoom in to read each article. Would I create buttons with zoom settings for each article. If this is the case do I do it in Indesign or Flash and can I still save it as a PDF file and it will keep the interactivity?
    I would greatly appreciate any help with this issue. It is driving me mad trying to get the information I need.
    Thank you

    Hi Bob
    Dont know what you mean by deleting my signature in the forum. Sorry its my
    first time using a forum.
    So just to confirm if I want a user to zoom in on an article I can't do it
    in Indesign or Flash.
    cheers
    PAMELA
                                                                                    BobLevine                                                    
                 <[email protected]                                            
                 >                                                          To
                                           pamela hettrick                    
                 17/08/2010 14:09          <[email protected]>  
                                                                            cc                                                                               
    Please respond to                                     Subject
                 clearspace-143433         I have created a        
                 1873-767197-2-305         newsletter in indesign cs4 how can 
                 [email protected].         I set zooms for each article for   
                     adobe.com             the user                                                                               
    You don't. There are third party solutions available for that. Sorry but I
    don't have any links handy right now.
    And please delete your signature...it's making a mess of the forum display
    of your posts.
    Bob

  • Is there any way to use a For Each Loop for each property of an User Defined Type?

    Is there any way to use a For Each Loop for each property of an User Defined Type? That would be very handy!
    Jorge Barbi Martins ([email protected])

    Alas, no, not in VBA.
    Regards, Hans Vogelaar (http://www.eileenslounge.com)

  • Opening stock of a material for each day for a month

    Hi ,
    Is it possible to get a opening stock of a material for each day for a month . For Example for the month of Feb From 01/02/2014 to 28/02/2014 i want to see the opening stock for each day .
    Thanks .
    Message was edited by: Jürgen L

    If you give 01.02.2014 to 28.02.2014 in MB5B report, then you will got the opening stock for 01.02.2014 and closing stock for 28.02.2014...
    the MB5B report designed like that
    It will give you the opening stock for from date and closing stock for end date...
    If you want to see the opening stock per each day, then you have to give the date each date in MB5B report...
    Like as for opening for 02.02.2014, you have to enter the from date as 02.02.2014..
    You can make your own report from copy the existing program RM07MLBD and you can add you additional code...
    Make the program output will be for each day...

  • [svn:fx-trunk] 12753: A checkintest for runtime functionality for FXG 2.0.

    Revision: 12753
    Revision: 12753
    Author:   [email protected]
    Date:     2009-12-09 13:47:34 -0800 (Wed, 09 Dec 2009)
    Log Message:
    A checkintest for runtime functionality for FXG 2.0.
    QE notes: No
    Doc notes: No
    Bugs: N/A
    Reviewer: Me
    Tests run: Checkintests (Mac)
    Is noteworthy for integration: No
    Modified Paths:
        flex/sdk/trunk/frameworks/tests/basicTests/BasicTests-config.xml
        flex/sdk/trunk/frameworks/tests/basicTests/BasicTests.mxml
    Added Paths:
        flex/sdk/trunk/frameworks/tests/basicTests/spark/scripts/FXG2RuntimeTestScript.mxml
        flex/sdk/trunk/frameworks/tests/basicTests/spark/views/FXG2RuntimeTests.mxml
        flex/sdk/trunk/frameworks/tests/basicTests/spark/views/tomatoes.JPG

    Revision: 12753
    Revision: 12753
    Author:   [email protected]
    Date:     2009-12-09 13:47:34 -0800 (Wed, 09 Dec 2009)
    Log Message:
    A checkintest for runtime functionality for FXG 2.0.
    QE notes: No
    Doc notes: No
    Bugs: N/A
    Reviewer: Me
    Tests run: Checkintests (Mac)
    Is noteworthy for integration: No
    Modified Paths:
        flex/sdk/trunk/frameworks/tests/basicTests/BasicTests-config.xml
        flex/sdk/trunk/frameworks/tests/basicTests/BasicTests.mxml
    Added Paths:
        flex/sdk/trunk/frameworks/tests/basicTests/spark/scripts/FXG2RuntimeTestScript.mxml
        flex/sdk/trunk/frameworks/tests/basicTests/spark/views/FXG2RuntimeTests.mxml
        flex/sdk/trunk/frameworks/tests/basicTests/spark/views/tomatoes.JPG

  • "... y ou will be charged for each recipient for each message sent."

    I received the system message today from Verizon: "Starting on October 14th, 2011 when sending a picture or video message, you will be charged for each reicpient for each message sent." I have $10 / month text plan that permits me 250 text messages.
    I assume this system message means that, if I send ONE picture message to TWO recipients, e.g., then my pool of remaining text messages will be deducted by TWO.
    I assume that the system message does not mean that, if I send ONE picture message to TWO recipients, e.g., then I will be charged, ABOVE AND BEYOND $10, for both messages, EVEN IF I HAVE TWO OR MORE MESSAGE LEFT IN MY POOL.
    Are my two assumptions correct?

    harbin96 wrote:
    I have the same phone and received the same text today right after I added money to my account. I'm hoping your are right because I'm not paying extra just to send pics and videos! I wonder if this only applies to plans w/o the texting bundle. But as soon as the Unleashed plan comes out on Thursday, I'm gonna get a new phone and get that plan!!
    Unleashed is a prepaid plan and yes it does have unlimited texting, Internet (Note I did not say data).
    The issue, you are limited to particular phones. Feature phones only.

  • Change Schedule Lines values for Each Item for a Scheduling Agreement ?

    Hii
        I want to change the Schedule Line Schedule Qty for Each Line item for a
    Scheduling Agreement .
    I cannot use BAPI_PO_CHANGE as this is for PO only and gives error for
    a scheduling agreement.
    I am on 4.6c so i SAP does not have BAPI_AGREEMENT_MAINTAIN .
    Please help me out on using a BAPI or FM to do this.
    Regards
    Gaurav

    Hi,
    isn't the Schedule Line a special case of SALES order  that might be changed with a BAPI_SALESORDER_MAINTAIN.... If ther is no BAPI for this in your system, you might create new contracts with reference to existing ones using BAPI_CONTRACT_CREATEFROMDATA.
    Regards,
    Clemens

  • Browse for Folder function for PHP?

    can anyone recommend a good plug-in to implement the Windows
    "browse for folder"
    function in php? I am looking for something like the menu you
    get when you want
    to select a folder in theDreamweaver "Find and replace"
    function.
    Clancy

    Look on Gary White's site -
    http://www.apptools.com - for
    his tutorial on
    how to create a dynamic sitemap in PHP. With modifications,
    that's exactly
    what you need.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "Clancy" <[email protected]> wrote in message
    news:[email protected]...
    > "SnakEyez02" <[email protected]> wrote:
    >
    >>My suggestion would be to head over to
    www.hotscripts.com and take a look
    >>at
    >>the File Management section of the PHP scripts.
    >>
    >> Any file script will open a window to browse for
    files, but there are
    >> scripts
    >>which make the process as easy as possible on the end
    user and can do what
    >>you
    >>need to do with the file.
    >>
    >> If you provide more detail about what you need the
    script to do someone
    >> can
    >>probably recommend a good script to accomplish the
    job.
    >
    > Thank you.
    >
    > I have been working on several similar programs to
    manipulate data files,
    > and
    > have got them working pretty well. The one serious
    shortcoming is in the
    > procedure for specifying which file to read. In the
    current version the
    > initial
    > menu has a simple text entry box for the user to enter
    the name of the
    > data file
    > to load. What I want to do is to extend the
    functionality of this, so
    > that the
    > user can browse the directory to find a particular file
    to load.
    >
    > I want to replace the current Text box with something
    that looks like a
    > Select
    > box, but when you click the arrow at the right you get
    the directory tree,
    > with
    > each directory preceded by a + or - symbol which you can
    click to show or
    > hide
    > the subdirectories and the files in the directory. The
    window would have
    > to
    > have vertical and probably horizontal scroll bars, so
    that you could find
    > a
    > particular file you wanted, then click it to highlight
    it, and finally
    > close the
    > window and load the file.
    >
    > So what I want is basically a Select box, but with
    functionality somewhere
    > between Dreamweaver's 'Files' menu, and Disc Explorers
    'Folders' menu.
    > For this
    > application I only want to be able to select a
    particular file to load,
    > but in
    > the future it might also be nice to have the ability to
    drag and drop
    > files, as
    > in Windows Disc Explorer.
    >
    >
    > Clancy

  • For each activity for sibling Loops

    Hi All,
    I have a below type of xml structrure. I am trying to use XSLT for transforming this format to separate xml which I will to insert data in DB using db adapter
    <Loop-2000A>
    <Element-628>1</Element-628>
    <Element-734 xsi:nil="true"/>
    <Element-735>20</Element-735>
    <Element-736>1</Element-736>
    </Loop-2000A>
    <Loop-2000B>
    <Element-98>PR</Element-98>
    <Element-1065>2</Element-1065>
    <Element-1035>ABC PQR</Element-1035>
    <Element-1036 xsi:nil="true"/>
    <Element-1037 xsi:nil="true"/>
    <Element-1038 xsi:nil="true"/>
    <Element-1039 xsi:nil="true"/>
    <Element-66>PI</Element-66>
    <Element-67>953893470</Element-67>
    </Loop-2000B>
    <Loop-2000B>
    <Element-98>PR1</Element-98>
    <Element-1065>22</Element-1065>
    <Element-1035>abcd DDH</Element-1035>
    <Element-1036 xsi:nil="true"/>
    <Element-1037 xsi:nil="true"/>
    <Element-1038 xsi:nil="true"/>
    <Element-1039 xsi:nil="true"/>
    <Element-66>PI</Element-66>
    <Element-67>953893470</Element-67>
    </Loop-2000B>
    <Loop-2000B>
    <Element-98>PR2</Element-98>
    <Element-1065>24</Element-1065>
    <Element-1035>pqrDCH</Element-1035>
    <Element-1036 xsi:nil="true"/>
    <Element-1037 xsi:nil="true"/>
    <Element-1038 xsi:nil="true"/>
    <Element-1039 xsi:nil="true"/>
    <Element-66>PI</Element-66>
    <Element-67>953893470</Element-67>
    </Loop-2000B>
    <Loop-2000A>
    <Element-628>1</Element-628>
    <Element-734 xsi:nil="true"/>
    <Element-735>20</Element-735>
    <Element-736>1</Element-736>
    </Loop-2000A>
    <Loop-2000B>
    <Element-98>PL</Element-98>
    <Element-1065>12</Element-1065>
    <Element-1035>RAS BKU</Element-1035>
    <Element-1036 xsi:nil="true"/>
    <Element-1037 xsi:nil="true"/>
    <Element-1038 xsi:nil="true"/>
    <Element-1039 xsi:nil="true"/>
    <Element-66>PI</Element-66>
    <Element-67>953893470</Element-67>
    </Loop-2000B>
    <Loop-2000B>
    <Element-98>PS2</Element-98>
    <Element-1065>28</Element-1065>
    <Element-1035>pqrDMH</Element-1035>
    <Element-1036 xsi:nil="true"/>
    <Element-1037 xsi:nil="true"/>
    <Element-1038 xsi:nil="true"/>
    <Element-1039 xsi:nil="true"/>
    <Element-66>PI</Element-66>
    <Element-67>953893470</Element-67>
    </Loop-2000B>
    In this case LOOP-2000A reprsents hospitals.while LOOP-2000B represents patients.One hospital can have multiple patients.Though in xml,LOOP-2000B is not child of LOOP-2000A. Actually it is like that:one LOOP-2000A is followed by many LOOP-2000B..that means one hospital has that many patients.Then next loop 2000A is followed by another set of LOOP 2000B which represents next hospital has that many patients.
    I have a requirement where I need to insert records in DB,where each patient will have one record in DB.I am trying to use for-each at loop 2000A and subsequently for-each at LOOP-2000B,but it is not working.It is not iterating on next set of patients.It is always copying the same patient.
    Any pointers in this regard will be helpful.

    The xml was,
    <ns:A xmlns ns="A">
    <ns:a>1</ns:a>
    <ns:a>2</ns:a>
    <ns:a>3</ns:a>
    <ns:A>
    Edited by: Prabu on Aug 30, 2010 12:55 PM
    Edited by: Prabu on Aug 30, 2010 12:55 PM
    Edited by: Prabu on Aug 30, 2010 12:56 PM

  • Is it possible to have different headers for each page for the Pages app?

    I just purchased the Pages app for my ipad and it happens to be one of the best apps i've ever bought.  However, I'm having trouble figuring out how to have different headers for each page of the same document.  Is this possible to do?

    Tommy,
    One of the limitations of Pages for iOS on your iPad is that Pages can't create sections per se. The best you can do is insert page breaks and then assign different columns to that page. The problem comes with the headers and footers - in iOS Pages, the headers and footers apply to the whole document, not the individual sections as you would find in Pages '09 on OSX.
    The workaround is to create your document on OSX, insert the needed sections and headers, save, then transfer the Pages document to your iPad either as a working "blank" or as a new document. The headers and footers will reflect the sections you created in OS X, but you won't be able to add any new ones or new sections on your iPad.

  • Remove T Code for each ROLE for user

    Hi Experts
    Can anyone tell me how to remove the T code for each role which was define individually for users Eg
    CR01 has been assign to 50 users, the difficulty is I have to go to each role then search for CR01 t code then delete and again generate the Authorization
    In this way there are so many t codes which I have to go one by one to delete it.
    Any help to remove the t-code for each role through any way.
    regards
    Piroz

    try the Security forum at Security
    they might have trick (such as CATT scripts).
    doing this via SQL commands is dangerous. avoid this solution if you are not 100% sure of its impact.

  • Looking for Calendar functionality for a Date Variable

    Hi Experts,
    Currently iam creating a WEBI Report where the source system is SAP BI System. I have a BEx Query with some characteristics at the row level and keyfigures at the column level. I have a Date Interval Variable (Based on 0DATE and optional), where the user will input the From and To date to execute the query. I have created the universe on top of this query, but date inteval variable appears as a character in the form of LOV. When i use this universe and buid the report in WEBI, the User Prompt for date is appearing as List of date values for this date interval variable, where as my requirement is to have date calendar for this date interval variable.
    I did some r&d on top of this, when the date varibale as single value and optional, iam able to get the date calendar, but when i use the Date interval Varibale it takes as a character. I searched the forum, but i didn't find any solution.
    Is it possible to have a date calendar for a date interval variable in BEx?? or its is only for single value date varibale.
    Kindly suggest
    Regards
    Santosh

    Hi,
    you stated it correctly that the calendar shows up in case of a keydate and in case of a single value but not in case of a range.
    in addition the underlying characteristic needs to be type DATS
    Ingo
    Edited by: Ingo Hilgefort on Dec 8, 2009 1:35 PM

  • New line for each segment for Inhouse files using bic mapping..!!

    Hi ,
    Idoc to File scenario.
    In the receiver adapter, we need to convert the XML into file(Inhouse format) by using seeburger mapping.
    We have generated the map for this in bic and used in Module configuration of receiver adapter.
    Now the question is I need to get each segment of XML file into a separate line in the output file like below.
    HDR ... ......
    DTL .........
    DTL ........
    where HDR is the header and DTL is the details segments.
    Iam getting the output in a single line like HDR.........DTL.........DTL.........
    but not as expected like above  .
    I tried by using newLine = true in module configuration, but no use.
    I digged into bic designer to search for any option , but no use.
    Kindly suggest me if any one has any idea on this.
    Thanks&Regards'
    Deepthi.

    Hi Deepthi,
        Did you find the solution, please let me now if you get.
    did you mention the below code to solve the issue.
    copy the below section in the NewMapping Program:
       SetDestinationDelimiter("SubElement", ">");
       SetDestinationDelimiter("Element", "~");
       SetDestinationDelimiter("Segment", "\n");
    Regards,
    Varun Reddy.K

Maybe you are looking for

  • Document Library Web Part - link to DispForm.aspx

    Hi there. I'm trying to solve a problem that appeared when I tried to create a simple page with the list of documents from my document library. I need Title field displayed as a hyperlink to DispForm.aspx, not to Document itself, and not to a dropdow

  • How do i get my Iphone 5 to turn back on from the flashing apple logo?

    I kist [icked it up and the screen was black so i put it on the charger and now its a flashing apple logo and i cannot get it to do anything else.

  • Access point specifications

     Cisco Aironet - AIR-SAP2602I-E-K9  specifications and its capabilities.  -          It supports Fat protocols and works in standalone since we do not have the controller, and it is not LWP.  -          What is the required electrical power and cable

  • Change one colour for another.

    Quite simply I'd like to swap one colour for another: maybe to turn all black into red and leave the rest as it is...or select greens only and make them blue. I've found various ways to adjust and alter colours but usually the entire picture is alter

  • New Laptop - All data lost after 3weeks! Help!!!

    Please help! I purchased a HP Pavillion G6 - 2205AX with Microsoft 8 3 weeks ago and I am beginning to regret it. My last laptop an (Asus) lasted 6 years with NO problems but I was convinced to go HP. I had set up the computer, loaded all my document