Changing order of elements

I have 2 interfaces and mapping. I need to change the order of XML elements in resulted XML.
I have changed the order in DataType (for second XML) but it doesn't work.
example:
Interface 1
<data>
  <name></name>
  <title></title>
</data>
Interface 2
<data2>
  <name2></name2>
  <title2></title2>
</data2>
The result is
<data2>
  <title2></title2>
  <name2></name2>
</data2>
How to change the order?

hi,
in order to change the order of XML tags you only have
to change the data type
have you updated the message type too?
try choosing the same data type
in your message type (result)
and activate it once more time
Regards,
michal

Similar Messages

  • Changed order of elements

    Hi all,
    i'm using ADF Faces EA19.
    On the JSP page i have a panelForm with child elements of panelLabelAndMessages with inputTexts and selectInputDates. At the first time i call the page, the order of the element is correct. If i reload the page (or leave and come back), the order of the child elements within the panelForm changes:
    element1
    element2
    element3
    element4
    element5
    reload:
    element2
    element3
    element4
    element5
    element1
    Any idea?

    Hi Gabrielle,
    i think, in the meantime i found the cause of my problem:
    i made a binding reference to panelLabelAndMessage (to miodify its message and messageType attributes from java code). If i difine variables only to these attributes, which i want to modify, it works properly BTW. this binding reference caused other problems too, which solved also by leaving the binding.
    Your questions:
    1. The type of state saving we are using is server.
    2. I cann't send stand alone version because of this binding, but you can try to repro with your own handler bean.
    My "wrong" code was:
    <af:panelLabelAndMessage id="pLAM1"
    label="Lebel1"
    binding="#{myHandler.panel1}"
    for="name">
    <af:inputText id="name"
    value="#{myHandler.name}" columns="20" simple="true" />
    </af:panelLabelAndMessage>
    <af:panelLabelAndMessage id="pLAM2"
    label="Lebel2"
    binding="#{myHandler.panel2}"
    for="date">
    <af:selectInputDate id="date" value="{myHandler.date}" simple="true" />
    </af:panelLabelAndMessage>
    ... and so on.
    And the "right" code:
    <af:panelLabelAndMessage id="pLAM1"
    label="Lebel1"
    message="#{myHandler.msg}"
    messageType="#{myHandler.msgType}"
    for="name">
    <af:inputText id="name"
    value="#{myHandler.name}" columns="20" simple="true" />
    </af:panelLabelAndMessage>
    If you have more questions to repro or you find the real cause of the problem, don't hesitate!

  • Change order of elements each time a page is loaded?

    I'm trying to do a web page that lists products but I want to
    make it load the products in a random order each time the page
    loads. Is there a way this can be done without having to set up a
    database? If I did each product, say as a library item, is there a
    bahaviour or a javascript out there that can read the list of
    products, then load them in a random order?

    If you require that no product image load more than once on
    any page
    refresh, then you will need to come up with some custom
    javascript, or use a
    database/server-scripted method to do this.
    I can tell you how to load images randomly, but not how to
    ensure that once
    you have loaded one image you would not load it again on that
    page refresh.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "timsharp" <[email protected]> wrote in
    message
    news:e88nv9$bi7$[email protected]..
    > I'm trying to do a web page that lists products but I
    want to make it load
    > the
    > products in a random order each time the page loads. Is
    there a way this
    > can be
    > done without having to set up a database? If I did each
    product, say as a
    > library item, is there a bahaviour or a javascript out
    there that can read
    > the
    > list of products, then load them in a random order?
    >
    >

  • How can i change the order of  elements in a JList ?

    Hi,
    i would like to know if it is possible to change the order of elements in a JList ? Maybe i could use drag and drop to do this ?
    Thanks for answering.

    The simplest way is probably to implement ur own listmodel and then supply the listitems in the order u want. Example:
    class MyListModel
              extends AbstractListModel
              implements ContactListListener {
    public int getSize() {
    return listitemcount;
    public Object getElementAt(int index) {
    //here u return the item for the index at the list
    //if u for example have an array of strings
    //which u wanna have listed in reversed order (reversed to
    //the order in the array, u could do
         return myarray[getSize()-index];
    }

  • How to export an album and keep images in the same order in elements 11 mac

    I made an album of my trip to Australia (lots of pictures) and changed the order of the images (not the same as shooting order) and when I export the images in the album to a folder or memorystick, the images are copied to that place but I lost the album order of the images.
    How can I prevent that, without having to renumber al 500 images separatly?
    Gr Jos

    Thanks for the tip, Michel
    It worked like a charm…
    cheers Jos
    Op 28 okt. 2013, om 18:49 heeft MichelBParis <[email protected]> het volgende geschreven:
    Re: How to export an album and keep images in the same order in elements 11 mac
    created by MichelBParis in Photoshop Elements - View the full discussion
    JosU a écrit:
    I made an album of my trip to Australia (lots of pictures) and changed the order of the images (not the same as shooting order) and when I export the images in the album to a folder or memorystick, the images are copied to that place but I lost the album order of the images.
    How can I prevent that, without having to renumber al 500 images separatly?
    Gr Jos
    The order in album is only kept in the organizer database, so the only way not to lose that order is to rename files.
    If you are using the 'export' function, select your album in custom order, select all photos and in the dialog, choose to rename with a common base name.
    Please note that the Adobe Forums do not accept email attachments. If you want to embed a screen image in your message please visit the thread in the forum to embed the image at http://forums.adobe.com/message/5794538#5794538
    Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/5794538#5794538
    To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/5794538#5794538. In the Actions box on the right, click the Stop Email Notifications link.
    Start a new discussion in Photoshop Elements at Adobe Community
    For more information about maintaining your forum email notifications please go to http://forums.adobe.com/message/2936746#2936746.

  • Order of Elements in Collections.

    Hi,
    Can anyone let me know which collection types maintain the order of the elements in which the elements are inserted.
    Also, as what does it mean if we say that a HashMap doesn't maintain the order of the elements ?
    How does the order change after the elements are inserted in the HashMap ?
    Thanks in advance.

    I thought I would follow up with the solution.
    The method I described above does work, but in order to make it work I had to find a way to make all elements in all collections appear in the same order. In order to do that, I needed a unique key for each object in the tree, that would be the same in both the original and the modified tree.
    In my case that was easy, b/c I get the original version from Hibernate and I make my modified version by copying it (also by serializing the original into memory and then deserializing it into my new "modified" working copy tree), so they both still contain the hibernate oids.
    The extra step I needed to do before serializing and comparing was to recurse through both trees (with Introspection) and replace all sets with a TreeSet and all lists with my own implementation of a sorted list.
    Now I can compare any tree of domain objects that extend from BaseDomainObject (they all do) by simply writing
    domainObjectTree1.autoEquals(domainObjectTree2, new String[] {"terminatorProperty1", "terminatorProperty2", ...})
    Terminator properties are basically properties which I set to null before running my comparison. This allows me to "cut off" branches of the tree that I don't want to be compared.

  • Changing individual array element properties

    In the attached VI, I have a 1D array of slider controls ("Phase Coefficients") where each array element represents the coefficient in a polynomial of arbitrary order. The problem I'm having is that the slider range I set for the lowest order coefficient (array element 0) quickly becomes impractical for higher order coefficients (elements >5). Small changes in the higher order coefficients dramtically change the overall polynomial.  I want each element/slider to have its own range, but I know this isn't strictly possible as each element in an array shares the same properties. I've implemented a work around (Use boolean to activate) in which the range of all sliders is adjusted depending on which element is being viewed, but my implementation prevents editing of the range while running the VI. Is there any way to adapt my method (or use another method all together) to allow for different, editable ranges for each element slider?
    Thanks!
    Solved!
    Go to Solution.
    Attachments:
    Arb Poly Gen.vi ‏39 KB

    Hi RavensFan, 
    Thanks for the suggestion! I tried your idea, but I still seem to be having the same problem with each slider sharing properties despite now being in a cluster inside the array. I may be misunderstanding you. Would you mind showing me an example please?
    *Edit: Nevermind, got it to work. Thanks again!
    Attachments:
    Array Cluster Slider.vi ‏7 KB

  • Change order of key figure is not working in Web report output (using WAD)

    Hi,
    We are using BI 7.0, release 701 and level 008. We are facing problem in WAD (web report output). When ever we do 'Select filter' for key figures and 'change the order' of key figures, it does not get reflected in new order. Though drag and drop of key figures is working.
    Though same change order is working fine in Bex Analyser.
    Kindly suggest some inputs.
    Thanks.

    Hi,
    On Which Service Pack are you on?WAD has this feature of re arranging the keyfigures in BI 7.0 for SPS 14...
    Regards,
    Bhagyarekha.

  • Travel Expenses settlements against Service Order/WBS Element/Project Ord

    Hi Experts,
    I have one req. in Travel Expenses, i.e. need to settle travel expneses against Service Order/WBS Element/Project Order.
    Can you guide me how to do this req.
    Thanks & Regards
    Rajesh

    Hye mate,
    This is possible for sure what you need to do is to go at travel request . In travel Request there is an option of Enhanced Travel cost/ Alternative master cost center. if you click on it . you would find an option of cost assignmnet click on it
    there you would have option , like an excel sheet like fields of  the cost centre, wbs element, profit center, order number what eve is requred and save it.
    now the cot of trip would go that particulat cost center or der numbe or WBS rather then the cost center assigned at master data in ifototype 0027.
    Regards
    Waqas Anwar

  • How to change the screen element of a single field in a table control

    Hi Gurus,
    I want to change the screen element of a single field (or the whole row) in a table control according to a condition.
    I have 2 columns in the table control. One is an input column and one output only. When user enters values into the input column, they need to be compared against the values in the other column, and if there is a discrepancy, the row where the discrepancy is needs to be highlighted.
    I have tried the following code which highlights the whole column ...
    CONTROLS: TC_ZVOYG_BINS TYPE TABLEVIEW USING SCREEN 0500.
    DATA: wa_tc_zvoyg_col LIKE LINE OF TC_ZVOYG_BINS-cols.
      LOOP AT G_TC_ZVOYG_BINS_ITAB
               INTO G_TC_ZVOYG_BINS_WA.
        if G_TC_ZVOYG_BINS_WA-zdelivery_bin ne G_TC_ZVOYG_BINS_WA-zactual_bin.
          loop at screen.
            IF screen-name = 'ZVOYG_BINS-ZACTUAL_BIN'.
              wa_tc_zvoyg_col-screen-intensified = 1.
              MODIFY tc_zvoyg_bins-cols FROM wa_tc_zvoyg_col TRANSPORTING
              screen-intensified WHERE screen-name = screen-name.
            endif.
          endloop.
        endif.
      endloop.
    And also the following code which makes no change ...
      LOOP AT G_TC_ZVOYG_BINS_ITAB
               INTO G_TC_ZVOYG_BINS_WA.
        if G_TC_ZVOYG_BINS_WA-zdelivery_bin ne G_TC_ZVOYG_BINS_WA-zactual_bin.
          loop at screen.
            IF screen-name = 'ZVOYG_BINS-ZACTUAL_BIN'.
              screen-intensified = '1'.
              modify screen.
            endif.
          endloop.
        endif.
      endloop.
    Thanks in advance.

    Hi,
    The modification of a screen element attribute (LOOP AT SCREEN...MODIFY SCREEN) must always be done in the PBO (for a dynpro, it will be in a PBO module, i.e. declared by MODULE ... OUTPUT)
    About the loop at the internal table, it is done automatically by the system, also during the PBO, you'll find something like LOOP [AT itab] ... WITH CONTROL ...  in the PBO part of the screen flow logic (note: you may have to complete with a supplementary READ TABLE if you don't use AT itab). So you don't need an additional loop.
    Best regards
    Sandra

  • How can I change all Inf elements in an array to a specific value?

    I would like to change all Inf elements in my array to -1. Basically, I am looking for something similar to the range and coerce function, except that I want all values above a certain value to be a specific negative value, rather than go to that value.
    I could use a case structure and go through each element in the array, but I am hoping to find something more efficient.Any ideas?
    Solved!
    Go to Solution.

    P@Anand wrote:
    I would do that in this way.
    Here's a simpler version...
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines
    Attachments:
    Replace in Array.png ‏4 KB

  • Change order of line items in a financial document

    Hello,
    Is it possible to define the order of the line items in a financial  document?
    For example, I have always a discount line with a discount account in the first place and after this line, the customer line, and the bank account and I need to have the customer line in the fist place, is it possible to customize this order?Or is this standard?
    Thank you very much!!

    Hi,
    You can change orders in FInancial Document. Just open the document from Menu select Settings-> Layout--> Current.
    change the position numbers as desired.
    Regards,
    JA

  • Changing Order of Songs in Album-iTunes 12

    Like the title says, how do I change the order of songs in a album? Before you could use get info and sort by track number.
    Thanks

    Hey Lando25,
    I understand that you want to change order of songs that are playing in iTunes. This functionality should still be available to you, as confirmed in this article:
    iTunes 12 for Mac: Edit song and CD information
    https://support.apple.com/kb/PH19618
    You may need to simply scroll in the information field in order to find the fields that you wish to edit. Thanks for coming to the Apple Support Communities!
    Cheers,
    Braden

  • HT201317 change order of photos in photo stream album

    How do I change order of photos posted in photo stream album?

    Send a feature request to Apple via
    http://www.apple.com/feedback/iphoto.html
    and
    http://www.apple.com/feedback/icloud.html
    OT

  • Help with fuzzy search (doesn't work if change order of certain 2 letters)

    Hi,
    need some help with fuzzy search. It's pretty simple - we use fuzzy search on varchar2 columns that contain first name and last_name. The problem is that i don't really understand why it can't find name in some cases.
    Say i want to search for 'Taekpaul'. Then
    where CONTAINS(first_name,'fuzzy(TAEKPAUL)',1) > 0 - works
    where CONTAINS(first_name,'fuzzy(TAEKPALU)',1) > 0 - works (changed order of the 2 last letters)
    where CONTAINS(first_name,'fuzzy(TEAKPAUL)',1) > 0 - doesn't work, finds 'Tejpaul' that is completely unrelated (changed 2nd, 3rd order)
    How can i make it find 'Taekpaul' even if i search for TEAKPAUL? Is it related to index? Like Text index should be created with some different parameters?
    Thanks!
    Edited by: Maitreya2 on Mar 3, 2010 2:08 PM

    Thanks, adding '!' worked :)
    Do you know where i can read more about '!' and other special characters? I think i didn't see anything like that here: http://download.oracle.com/docs/cd/B14117_01/text.101/b10730/cqoper.htm#BABBJGFJ
    I also started using JARO_WINKLER_SIMILARITY function that is actually better i think for what i do. But it's very buggy - sometimes Oracle crashes and kills connection when you try to use it.
    Ahha, it's here: http://download.oracle.com/docs/cd/B19306_01/text.102/b14218/cqspcl.htm
    So, ! is soundex. Whatever it means..
    Edited by: Maitreya2 on Mar 5, 2010 12:14 PM

Maybe you are looking for

  • What third party drive do I use to connect my umi-7764 to a phytron stepper motor (zss66)

    I would like to connect my phytron stepper motor (zss66) to my UMI-7764, do I need a third party drive ? And if i need one, which one ? Thank ! Seb (I am french so if you want to aswer french, let's go )

  • Apex & SQL server reporting services

    Hi, Has anyone integrated SQL server reporting services with apex? I have a client that is running both Microsoft dynamics using SQL server reporting services and oracle. I am building them a web application on the oracle database and would like to u

  • Impact of shifting database version and platform

    i've to migrate an existing system using Oracle7.3.2.3 on Sun solaris(sparc) 2.6 to Oracle 9i on Linux, could uyou just guide me what will be the impact on existing code and the database. is there any documents available regarding this

  • New iPod

    I just got an iPod Touch. I just have a few questions regarding the music end of it. I also have another iPod. I don't want to completely stop using it. For example, I want to be able to add new songs that I buy to both iPods. Can this be done on iTu

  • Creating a Standard Def DVD from an HD project

    I have an 2 hour HD project in Final Cut Pro and would like to make a standard definition DVD (letterboxed in 4x3). What would people recommend me in terms of building the cleanest, best looking final result? Downconverting via compressor to mpeg2 at