Need to send several Segments of loop-N1

Hi all
I created a BPEL process that takes a custom input XML document and creates and EDI 810 Invoice out of it.
The customized document has elements something like below

< Invoice_Data >
< Client_name > Customer Name < / client_name >
address < customer_Address > customer < / customer_Address >
< seller_Name > seller name < / seller_Name >
< seller_Address > vendor address < / seller_Address >
< / Invoice_Data >


The output should be something like this

<>transaction-810
< loop-N1 >
< segment-N1 >
< item-01 > client name < / item-01 >
Customer address < item-02 > < / item-02 >
< / segment-N1 >
< / N1 loop >
< loop-N1 >
< segment-N1 >
Seller of < element-01 > name < / item-01 >
Seller's address < item-02 > < / item-02 >
< / segment-N1 >
< / N1 loop >
< / transaction-810 >


I use an activity of transformation but created the first N - 1 Segment is easy, but I do not understand how I can create two entries in this segment.

Please can someone help me with the necessary XSLT for this? An example would be really helpful

If the elements of LoopN1 are not equal, you must specify them separately in your template (this can be done in design view as far as I know). The following works on your input samples:
























Tags: Fusion Middleware

Similar Questions

  • Need to send several lines in mail utility

    HI Experts,

    I'm using ODI 11 g.

    In my ODI package I use a Variable when I need to write this query

    Select campgn_no. »  '|| LPAD (lang, 4,' ') | »   '|| LPAD (total, 6,' ') | »  '|| (select TO_DATE(CELL_STRDT,'YYYY/MM/DD')
    ||'      '|| CELL_END_DATE
    OF sp_product m, sp_dom o
    WHERE m.offer_id = o.offer_id AND o.campgn_no IN (SELECT DISTINCT T.CAMPGN_NO FROM SP_ODI_TEMP T WHERE T.CAMPGN_ID ='lm10303 "") and rownum = 1) | Chr (10) Lang_Break_Up
    de)
    Select o.campgn_no, campgn_no, lang, count (1) total m.lang
    of sp_product m, sp_dom o
    where m.offer_id = o.offer_id
    AND O.CAMPGN_NO IN (SELECT DISTINCT T.CAMPGN_NO FROM SP_ODI_TEMP T WHERE T.CAMPGN_ID = 'lm10303')
    O.CAMPGN_NO GROUP, ORDER BY O.CAMPGN_NO M.LANG);

    This qqery returns values like

    LON01 E 4 MARCH 10, 13 2 FEBRUARY 13

    LON02 E 2 MARCH 10, 13 2 FEBRUARY 13

    LON03 E 4 MARCH 10, 13 2 FEBRUARY 13

    LON04 E 3 MARCH 10, 13 2 FEBRUARY 13

    Just after this Variable, I am setting a utility of mail to send this result.

    But after running the post office, it sends only one line of result.
    LON01 E 4 MARCH 10, 13 2 FEBRUARY 13

    I need to send multiple lines ... How to do this... Please help me on this.

    Thank you
    Lony

    Hello

    If you have less than 4000 tank, you can use this workaround with listagg.

    LISTAGG (last_name, ';) ')

    THE Group (ORDER BY hire_date, last_name)

    Select LISTAGG (campgn_no |) »  '|| LPAD (lang, 4,' ') | »   '|| LPAD (total, 6,' ') | »  '|| (select TO_DATE(CELL_STRDT,'YYYY/MM/DD')

    ||'      '|| CELL_END_DATE , '

    ') THE Group (ORDER BY campgn_no)

    OF sp_product m, sp_dom o

    WHERE m.offer_id = o.offer_id AND o.campgn_no IN (SELECT DISTINCT T.CAMPGN_NO FROM SP_ODI_TEMP T WHERE T.CAMPGN_ID ='lm10303 "") and rownum = 1) | Chr (10) Lang_Break_Up

    Of...



    Basically you tell Oracle to consider only one line which consist as the concatenation of your line with a \r\n


    Let me know

  • several segments of the production of a signal as a signal of undivid

    Hi nice friends.

    I work on a simulation of signal with LabVIEW, all work good and fair execution problem a signal.

    It's a signal sine, its changes in frequency of 15 Hz - 30 kHz smoothly. At first, I thought it would be easy to build a whole and output signal with the DAQmx Timing.vi (use of wave), but things does not seem simple, due to the high frequency (30 kHz), should I do the sampling rate of the wave at least 300 KHz, which again is not the pretty smooth waveform.

    So I was wondering, if it is possible to the waveform of the output in the form of several segments and their output without interruption. Yet I wonder if it is possbile to do with this big (30 kHz) frequency?

    Thank you all for andvance.

    Best regards

    badstone

    Hi GerdW,

    Thanks for the mention me.

    I made a simple diagram as follows

    It is to generate a samples of the series (this is 100 #s) of a sinusoidal signal, before the release period, set the sample as continuous sample clock and frequency of 15 Hz starting, then write it, the material will be guard wirte until the task is stopped or deleted. Now that physical custody write this 100 samples, I change the sampling frequency with the DAQ Timing.vi in a loop, the frequencies change quietly.

    I hope I made clear.

    Best regards

    badstone

  • How to use the platform of character even in the same scene several backgrounds without looping the platform of character chronology

    How to use the platform of character even in the same scene several backgrounds without looping chronology of the platform of character? Is it still possible without having to do the scene with another background on another file? To better explain the situation, I have a flash file which has a background and a rig which passes to another context and drilling on another layer and keyframe, but when I go back to the previous background and chronology of this drilling rig repeats, rather than leave, you are doing a new time for this platform. Do I need more than one file?

    In order to reuse assets to animate, you need to duplicate each symbol in the scene who will be the new animation. So, copy and paste the stage on a new layer, right-click on it and select double symbol, then double-click inside the symbol and select each symbol that is going to change, so that the background and the rigging and also select symbol duplicated for those files as well. usually, when I animation I do not use the main platform in the scenes, duplicate as 'Guy1_sc 1', then place it in the scene so that the path I never uses the master file. 'Guy1_sc 2' is a different file. Also if you lipsync and stalled the head separately you will need to reproduce, so, for each scene, is also unique. I hope this makes sense.

  • When I send several documents for signature, how can we separate these documents again once I got the signature?

    When I send several documents for signature, how can we separate these documents again once I got the signature for each of them. Its way easier if I send all together, because the signatory needs to sign once and then just click on the other signature fields, but if I separate documents, how I divide again?

    Hello Anna,

    If you have a professional account, there is a feature that you can enable to recover separate documents. You can go to the account-> account setting-> general framework 'Keep the separate documents' and select Save.

    Kind regards

    -Usman

  • Is it possible to send several documents to a recipient without the documents combined in a single file?

    I need to send files 20 + one for signature.  Right now, I have to send each file individually, which takes time.  Can I send several documents for signature at a recipient and get separated after signature files?  I saw old messages saying that the feature exists and can be changed under account settings, but I can't find it anywhere.  If she is no longer an option, is there something easier than sending each document separately?

    Hello Coralm67080766,

    The feature is available under Adobe DC Premium accounts and above. The setting to separate the signed document can be activated by going to the tab account-> account settings-> General settings and check "keep separate".

    -Usman

  • Palm needs to send a Palm Pre to Nissan for tests - as soon as possible!

    I just talk with Patrick in support Bluetooth for Nissan Consumer Affairs at 1-800-647-726.  The Palm ONLY phone currently presented to the test is the Treo Pro!  Use this link to check: http://www.nissanusa.com/bluetooth/find.html . This Bluetooth group covers both Nissan & Infiniti cars.  Patrick explained the process as follows:

    1. Phone manufacturer sends the phone to Nissan for the test
    2. Nissan engineers is preparing a report for the manufacturer of phones, identify the changes required
    3. Phone manufacturer issues a patch for the phone.

    Currently, the Palm Pre is not yet in step 1!  Palm needs to send a meadow to Nissan for the test. As soon as possible!!!

    99% solved.  I still occasional static, but the connection is stable and strong.  Several other Nissan/system owners also posted positive results after the upgrade to version 1.2.  Good luck!

  • Need to send an attachment with an Email Outlook

    Hi all
    I have a requirement in which I need to send an attachment in a mail as an attachment Outlook. I used the following code and was wondering what I need to change so that the Outlook attachment works very well-
    public static void sendMessageWithAttachments (EmailPoller emailPoller, body String, String toAddresses, String ccAddresses, String subject, don't BlobDomain)
    throws MessagingException, Exception {}
    Properties props = new Properties ();
    A session = Session.getDefaultInstance (propellers, null);
    MimeMessage message = new MimeMessage (session);
    Fill in the header of the e-mail
    message.setSubject (subject);
    message.setContent (message, "text/plain");
    If ((toAddresses! = null) & & (toAddresses.trim () .length () > 0)) {}
    message.addRecipient (Message.RecipientType.TO,
    new InternetAddress (toAddresses));
    }
    If ((ccAddresses! = null) & & (ccAddresses.trim () .length () > 0)) {}
    message.addRecipient (Message.RecipientType.CC,
    new InternetAddress (ccAddresses));
    }
    Create a component multi to combine the Mime body parts
    Several multipart part = new MimeMultipart();
    Create your new message part to set the text within the email and add it to the multipart
    BodyPart messageBodyPart = new MimeBodyPart();
    messageBodyPart.setText (body);
    multipart.addBodyPart (messageBodyPart);
    Create and add to the multi part & fill MimeBodyPart the attached content
    messageBodyPart = new MimeBodyPart();
    Data source source = new ByteArrayDataSource (associatedEmail.toByteArray (), "text/plain");
    messageBodyPart.setDataHandler (new DataHandler (source));
    messageBodyPart.setFileName ("associatedEmail.txt");
    multipart.addBodyPart (messageBodyPart);
    Associate the multi-part content of the message
    message.setContent(multipart,"text/html");
    emailPoller.forwardMessage (message); send email with attachments
    }
    That I tried was to define the MIME type for the data source @
    source DataSource = new ByteArrayDataSource (associatedEmail.toByteArray (), "text/plain");
    of application / vnd.ms - Outlook but it creates an Outlook message as an atatchment but refuses to open it and displays an error.

    Anyone who knows how to operate it please?

    I guess that by "Outlook message" you mean you want to join another full message this message.
    Try this: http://www.oracle.com/technetwork/java/javamail/faq/index.html#forward

  • When I need something send to an email address of a Web site, even I have shortcut Outlook Express him pay not only electronic mail by default

    When I need something send to an email address of a Web site, even I have shortcut Outlook Express him pay not only electronic mail by default

    http://support.Mozilla.com/en-us/KB/changing+the+e-mail+program+used+by+Firefox

  • I created a separate administrator account and can't get it to appear at startup.  I need to send my Macbook repair and need this ID to show when they turn on him. How do I do that?

    I created a separate administrator account and can't get it to appear at startup.  I need to send my Macbook repair and need this ID to show when they turn on him. How do I do that?

    If you added via the preferences system/users and groups, it should appear as a long time that you have set the display of connection to appear. To do this, go to System Preferences/security and privacy. Then check the check box turn off automatic connection . This should show the login screen at startup. You may need to click the lock (lower-left) icon to unlock the setting to check it out.

  • I need to send e-mail to climb what is the email address of support?

    I need to send e-mail to climb what is the email address of support?

    Click on contact us at the bottom of this page to join Apple

  • VI re - enter several times a loop for

    HW can I call a same vi... (reentrent vi several times a loop for). using reference function call.

    Thanks in advance

    Bilel

    Use x 8 for reference VI options open to call dynamically live reentrant

    For more information read the help of LabVIEW for this nodes!

    Christian

  • I am new to the ethernet communication using labview. I don't have any material. I have two laptop, I need to send and receive data through these 2 portable by using labview. Kindly help me on this.

    I am new to the ethernet communication using labview. I don't have any material. I have two laptop, I need to send and receive data through these 2 portable by using labview. Kindly help me on this.

    Dennis has already said: for a direct PC - PC connection, you need a cross over cable. If you connect through a router or a switch, you use a standard cable.

  • Can I send several CAN messages through a table?

    I am very new to this, so bear with me.  I am writing for a CAN bus line and we would like to send several messages through the feature of writing through the API.  But when I create the control for data is just a 1-d array.  I'm able to do a multiple choice of messages?

    Hello

    For new people, CAN bus, the NI-CAN driver brings examples for nearly every use case. Version 2.4 or later driver has the writing of multiple writing multiple images to those functions.

    An example is currently available for LabVIEW, CVI, and VC/VBasic called CAN transmit several.

    DirkW

  • I need to send my laptop for repairs. Is there a way to secure all files in My Documents to prevent them from be read? OS is XP.

    I need to send my laptop for repairs. Is there a way to secure all files in My Documents to prevent them from be read? OS is XP. I don't want to remove them from the laptop - contains any installed programs, etc.

    I need to send my laptop for repairs. Is there a way to secure all files in My Documents to prevent them from be read? OS is XP. I don't want to remove them from the laptop - contains any installed programs, etc.

    Encrypt files...   http://support.Microsoft.com/kb/308989

    But do it on your own windows login, it is password protected so technicians can not access (let connect them only on a guest account).  http://www.Microsoft.com/resources/documentation/Windows/XP/all/proddocs/en-us/ua_provide_guest_account_w.mspx?mfr=true

Maybe you are looking for

  • calculate the scalar product

    Hi all hope that everyone else is doing great! I have a question about a problem that was asked to do. It says I have to calculate the scalar product, so I wonder if I just did? The constraints are that one way is to make ite with only discreet from

  • Please help me choose a workstation

    HP Dear members, I am looking for a workstation tailored to high speed and can operate 24/7. My needs is below: -2 CPU physically, cache high, high speed -16 GB of RAM now, and can be upgraded later to 32 GB -VGA card 2 GB now and can proceed to 4 GB

  • My constantly clock forget time

    When the laptop has turned off or in hybernation for the night he wakes with a shift of 3 hours. No idea why this is happening and how to fix it? Thank you Reut

  • Windows freeze after hibernation Dell Inspiron 660

    Every day my computer hangs when I wake it after hibernation.  Device Manager indicates that driver graphic card Intel is up-to-date.  Current Windows updates. Any suggestions?

  • my half of samsung laptop screen is pink

    I have a portable Samsug and suddenly half of the screen is pink. I still can't see the letter but in pink. Please any help.