Dynamic XSD Mapping?

Is it possible to make some kind om dynamic mapping from one XSD to another, based on some metadata stored for instance in DB table? The table could info like "field1 goes to fieldX".
How can acomplish something like that?
I know I could do in PL/SQL - parsing the incomming XSD and do some replacements. But this is not very elegant - there must be a cleaner way to handle this?
Rgds, Henrik

Thanx for the answer James ;-)
I think I have to elaborate a little. the system we're building should be able to handle different input schemas (xsd). This means that i Can't /won't build a transformation for each xsd. furthermore; we're using a canonical model - so the task is basically to map the source xsd to the canonical target xsd. Since the source xsd can change dynamically - we have a setup telling which element goes to which element in the canonical model. The only solution I can come up with, is to use either Java or PL/SQL - to do the replacements/building the canonical schema.
Rgds, Henrik

Similar Messages

  • Dynamic value mapping

    hi,
    can u plz explain about Dynamic value mapping and where it actually use this
    thanks
    guna

    Hi ,
    Dynamic value mapping.is nothing but
    It is FixValues and ValueMapping under Conversion Functions.
    Eg:
    You need such a requirement. Where the values in the source are mapped to someother value in the target as below.
    1--> Mr
    2--> MS
    3--> MRS
    FixValues is used when you know the entire set of Key value pair in the Design Time. You give the Key and the value in the FixValues and the mapping checks and maps the values to the target.
    In the case of Value mapping, you maintain this Key - Value pair in the Integration Directory and thereby make changes easily and also use them in the Mapping in IR
    Refer These blogs
    ValueMapping using the Graphical Mapping Tool -value mapping using grapic mapping tool
    Value Mapping replication - value mapping replication
    Accessing Value Mapping defined in Directory using Java functions - accesing value mapping
    Dynamic Date Conversion in Message Mapping - dynamic date conversion
    Dynamic Configuration of Some Communication Channel Parameters using Message Mapping - dynamic confighuration
    Dynamic file name(XSLT Mapping with Java Enhancement) using XI 3.0 SP12 Part -II - dynamic file name
    and also
    Refer this link
    http://help.sap.com/saphelp_nw2004s/helpdata/en/d7/e551cf896c3a49bb87bb4ce38c99c8/frameset.htm - external context mapping
    Regards,
    Suryanarayana

  • Dynamic Tempo Mapping In Audition CC

    Hello Adobe,
    I've seen various forum postings about this in the past, but nothing very recently.  I just downloaded the latest version of Audition CC.  It looks great, a lot of cool new features, but I wanted to reiterate on past postings that dynamic tempo mapping functionality would be extremely useful.  It doesn't need to be anything too fancy.  Just need to be able to tell Audition that after 30 bars of 4/4 at 120 bpm, I'd like the metronome and bars/beats display to change to 3/4 at 130 bpm etc.
    Just want to bump this back onto your radar.  Thanks.
    -Brendan

    I've used the Ozone with Audition in the past (we're talking about the keyboard/audio combo device, right?) and it's been fine.  If you're seeing the playhead move and the level meters update when attempting to play through it, that means the communication should be there.
    Any chance you can show us screenshots of the "Audio Hardware" and "Audio Channel Mapping" panels in the preferences dialog?  That might help get started.

  • MDM dynamic value mapping

    Hi,
    Gurus,
    I'm working on idoc to file scenarion and i have to implement MDM dynamic value mapping for one of the idoc fields, and i have no idead about MDM dynamic value mapping , can anybody help me with step-by-step procedure to implement it and I'm not java guy...
    Thanks!!
    Waiting for reply...

    Hi,
    This might help you,
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/62770ffa-0301-0010-a0b2-c77294a3902e
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/5a9c405f-0a01-0010-0980-fa5082e517e6
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/603ca425-0c01-0010-cdb2-c10d13c43631
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/4ce0d691-0b01-0010-f4aa-c938d438ceb2
    Setting up algorithm on MDM Client
    Regards
    Agasthuri Doss

  • Value Mapping and Dynamic Value Mapping

    Hi Experts,
    Could you please give a example for Value Mapping and Dynamic Value Mapping?
    Regards
    Sara

    Sara,
    I am assuming that you are going to use the Receiver JDBC adapter to select the data from the database.
    In this case, take a look at this blog of mine to understand how te dataypes should be created for the request and response JDBC Select Query.
    /people/bhavesh.kantilal/blog/2006/07/03/jdbc-receiver-adapter--synchronous-select-150-step-by-step
    The only difference would be that in the mapping when you create the Request Message for the JDBC adapter, the columns you create would be determined from the Source,
    i.e, if value = 1 , only the required Columns should be mapped as Blank constants,
    likewise for the other requirement.
    the columns you do not want to select you should not create them in theoutput of your request mapping.
    Regards
    Bhavesh

  • Is this the right to use or for iOS can use dynamic google maps embeded(can be embedded fo iOS)

    function displayMap(e) {
    var title = e.data.title,
        latlng = e.data.lat + ',' + e.data.lng;
    if (typeof device !='undefined' && device.platform.toLowerCase() == 'android') {
    window.location = 'http://maps.google.com/maps?z=16&q=' + encodeURIComponent(title) + '@' + latlng;
    } else {
    $('#map h1').text(title);
    $('#map div[data-role=content]').html('<img src="http://maps.google.com/maps/api/staticmap?center=>' + latlng + ' &zoom=16&size=320x420&markers=' + latlng + '&sensor=false">');
    $.mobile.changePage('#map', 'fade', false, true);
    my phonegap (Adobe press, Powers jQuery with dw 5.5) book (old book (c)2010-11) says for above code: // is this valid for today, is this the right to use or for iOS can use dynamic google maps embeded(can be embedded fo iOS)???
    On iOS, calling window.location loads the map directly
    into the app. That’s great until you realize that iOS devices
    don’t have a Back button, so there’s no way to exit the
    map. To get round this problem, I loaded a static map as
    an image in the map page block. It’s not interactive, but at
    least you can continue using the Travel Notes app after
    viewing the map by clicking the Back button generated by
    jQuery Mobile.

    Well, this took me a while to get solved, but it is indeed solved.
    I tried USB Overdrive and it could, and perhaps should work, but apparently it will not. When adding a device, it seems that USB Overdrive is not set up to handle any input device that does not register itself as either a Mouse or a Joystick. The VEC USB Footpedal that I'm using is "Device type: Other".
    So, I went for Quickeys. And Quickeys can do it all. It did recognize the device, I was able to assign it to the scope of the particular audio playback app I wanted to use (Amazing Slow Downer OS X - which is truly amazing. Any musicians reading this who are looking for a way to learn pieces by ear, this does it better than anything else I've seen yet).
    I created a shortcut in Quickeys for the ASD app; added the middle button of the foot pedal as the trigger; set one step, entering 'space bar' as the step (which toggles playback, similar to many audio players).
    It all worked.
    Quickeys is very confusing and seemingly featured with an endless array of options. Enter at your own risk. Ask me for help. This was the only way to get it done that I could find. I did write to the author of USB Overdrive asking him to please support additional devices as I did find some traction from gamers who like to use a foot pedal in addition to other input devices. There was a Windows-only management utility for the foot pedal that was intended for custom input, assigning the buttons to any keyboard input or mouse click event. It would be nice to have a simple and easy to use utility like this. But, Quickeys did do the job.
    Thanks for your help, you guys!!!

  • Dynamic Loading Maps BizTalk 2006 R2 upgrade to BizTalk 2013

    We are in the process of upgrading BizTalk to 2013 R2 from BizTalk 2006 R2.
    In an orchestration we are dynamic using map type classes.
    It works fine in 2006 R2, 2010 but not 2013 R2.
    When I run the below code in VS 2008 it retrieves the class types from the assemblies.
    In VS 2013 it does not.  Why?
    //CCIJIS_WarrantClearRequest_X_MCIJIS_CLWR
    string typeName =
    "x";
    string className =
    "x";
    Type mapType =
    Type.GetType("MCIJIS_RCLW_X_CCIJIS_WarrantClearResponse,
    CCIJIS.State.Transforms, Version=1.2.0.0, Culture=neutral, PublicKeyToken=d18be0be6c153b84");
                mapType =
    Type.GetType("CCIJIS.State.Transforms.MCIJIS_RCLW_X_CCIJIS_WarrantClearResponse");
    if (mapType ==
    null)
    foreach (Assembly
    a in
    AppDomain.CurrentDomain.GetAssemblies())
    if (a.FullName.Contains("CCIJIS.State.Transforms"))
                            typeName = a.FullName;
                            mapType = a.GetType(a.FullName);
    foreach (Type
    type in a.GetTypes())
                                className = type.FullName;
    James Nance

    Hi James,
    Try debugging your code by attaching Visual Studio to the BTSNTSVC.exe process and see where exactly your code is failing.
    For debugging your orchestration refer:
    BizTalk Orchestration – Orchestration debugging inside Visual Studio
    Checkpoint: Ensure you have using correct fully-qualified map name.
    Rachit
    Please mark as answer or vote as helpful if my reply does

  • Dynamic Context Mapping in Web Dynpro ABAP

    Hi Experts,
    How can I create two dynamic Context nodes, one in ViewController and the other in Component Controller and finally create a context mapping between them?
    Regards,
    Johan Kriek.

    Hi Johan,
    I found a method IF_WD_CONTEXT_NODE_INFO~ADD_NEW_MAPPED_CHILD_NODE that seems to be the one that I am looking for.
    I do have same idea but i have been trying to give solution by using above method,unfortunately here my server is down.check the below code. i didnt check this code due to server down.
    DATA: lo_nd_purchase_header TYPE REF TO if_wd_context_node,
          lo_el_purchase_header TYPE REF TO if_wd_context_element,
    ls_purchase_header TYPE wd_this->element_purchase_header,
          lo_node_info type ref to if_wd_context_node_info,
          lo_child_node_info type ref to if_wd_context_node_info,
          MAPPING_INFO type WDR_CONTEXT_MAPPING_INFO.
    * navigate from <CONTEXT> to <PURCHASE_HEADER> via lead selection
      lo_nd_purchase_header = wd_context->get_child_node( name = wd_this->wdctx_purchase_header ).
                  CALL METHOD LO_ND_PURCHSE_HEADER->GET_NODE_INFO
                    RECEIVING
                      NODE_INFO = lo_node_info.
           MAPPING_INFO-controller = 'ZWDC_ALV'. "conponent name
           MAPPING_INFO-path = 'PURCHASE_HEADER'. "Controller context node name
          CALL METHOD LO_NODE_INFO->ADD_NEW_MAPPED_CHILD_NODE
            EXPORTING
              CHILD_NAME      = 'PURCHASE_HEADER'
              MAPPING_INFO    =  MAPPING_INFO
    *          IS_STATIC       = ABAP_TRUE
            RECEIVING
              CHILD_NODE_INFO = lo_child_node_info

  • Dynamic context mapping

    Hello,
    Is it possible to create dynamic mapping between contexts of view and e.g. custom controller at runtime? If it is possible, so how. I have not found any documentation about this.
    Thanks a lot for answers!
    With best regards
    Michael Belenki

    Hi,
    The problem is not getting solved.Am getting an error while trying to dynamically map a node in the view controller from the component controller in ABAP.
    I have a node
                  Const_data(node)
                       |_
                         Value(attribute)
    and it has an attribute 'value' .Both are created dynamically.
    Now when I try to map this context in the view controller.I use the following code.
    map_path = 'COMPONENTCONTROLLER.CONST_DATA.VALUE'.
    insert map_path into table path_mapping_table.
    struct_mapping_info-CONTROLLER = 'COMPONENTCONTROLLER'.
    struct_mapping_info-PATH = path_mapping_table.
    const_dat_info =
    context_root-ADD_NEW_MAPPED_CHILD_NODE
    (                                                    CHILD_NAME   = 'CONST_DATA'
    IS_STATIC    = abap_false                           MAPPING_INFO = struct_mapping_info) .
    Now when I try to get the value of attribute "value".
    I get an error message :
    Attribute COMPONENTCONTROLLER.1.VALUE could not be found
    Since I am not trying an external mapping I dont think I need set_mapping_complete method.

  • Query Regarding XSD Mapping

    Hi Experts,
    I 've the following requirement:
    My Source XSD is of the form:
    <element name="source" ....>
    <complextype>
    <element name="customNode" minoccurs=*0* maxoccurs=20>
    <complextype>
    <sequence>
    <element 1....>
    <element 2....>
    </sequence>
    </complextype>
    </complexType>
    </element>
    The target XSD is of the form:
    <element name="target"....>
    <complextype>
    <element name="customNode" minoccurs=*20* maxoccurs=20>
    <complextype>
    <sequence>
    <element 1....>
    <element 2....>
    </sequence>
    </complextype>
    </complexType>
    </element>
    Please note the difference is the minoccurs property. I need to map the customNode element of the source and target XSDs. In the target XSD, I should
    populate 20 items of this element type with some default values when
    there are less than 20 elements in the source type.
    Can you please suggest how this can be achieved. Can this be achieved using XSLT mappings?
    Any pointers will be immensely helpful.
    Regards,
    Ganapathi

    I am wondering if this setting in jDeveloper will actually do it for you
    Tools -> Preferences -> XSL Maps ->Generate empty node for all required unmapped nodes
    I am sure XSLT can do it but it will probably render the mapper designer "useless" (you can't view your xslt in the graphical way any more);
    another not so elegant way i can think of is to map whatever you can in the xslt, for example, 5 existing nodes from the source
    then use a loop to "append" the remaining 15 empty nodes.
    just my 2 cents.

  • Need help on XSD mapping for multiple objects

    Hi All,
    I am having a table in which row1.column1 data is mapped with xyz atttribute from XSD which is having multiple occuraces.
    Same attribute is mapped with row2.column1.
    But ro3.column1 data is not getting displayed completly only few data is gettin displayed.
    Example
    <MYXML>
         <EMP>
              <name>a1</name>
              <address>usa</address>
              <age>20</age>
         </EMP>
         <EMP>
              <name>a2</name>
              <address>canada</address>
              <age>21</age>
         </EMP>
         <EMP>
              <name>a3</name>
              <address>india</address>
              <age>22</age>
         </EMP>
    </MYXML>
    here row1.column1 mapped with name
    row1.col2 mapped with address
    row2.col1 mapped with name
    row2.col2 mapped with age
    Please help for the same.

    Mohit,
         Here is a sample file for your use..
    https://acrobat.com/#d=urni5MvK7Fx87liMbRpPgQ
        I used the below XML as data connection as well as Preview Data..
    <?xml version="1.0" encoding="UTF-8"?>
    <MYXML>
         <EMP>
              <name>a1</name>
              <address>usa</address>
              <age>20</age>
         </EMP>
         <EMP>
              <name>a2</name>
              <address>canada</address>
              <age>21</age>
         </EMP>
         <EMP>
              <name>a3</name>
              <address>india</address>
              <age>22</age>
         </EMP>
    </MYXML>
    Thanks
    Srini

  • Dynamical reverse mapping

    Hi,
    I didn't manage to do the reverse mapping at runtime.
    I have 2 components.
    The context of them are described below:
    There is only one node in component 1 called "idioms"
    In the component 2 (that is the component used called POPUP) there is the node called "columns"
    I want to map idioms to columns at runtime. It is a reverse mapping.
    I have the code below:
    data: lo_node_info type ref to if_wd_context_node_info,
            lo_dyn_node_info type ref to if_wd_context_node_info,
            stru_mapping_info type wdr_context_mapping_info,
            tab_mapping_path type wdr_ctx_element_path_segments,
            wa_path type wdr_ctx_element_name.
      wa_path = 'COMPONENTCONTROLLER.COLUMNS'.
      insert wa_path into table tab_mapping_path.
      stru_mapping_info-component_usage = 'POPUP'.
      stru_mapping_info-controller = 'COMPONENTCONTROLLER'.
      stru_mapping_info-path = tab_mapping_path.
    lo_node_info = wd_context->get_node_info( ).
    * Map the context node dynamically
      call method lo_node_info->add_new_mapped_child_node
        exporting
          child_name   = 'IDIOMS'
          mapping_info = stru_mapping_info
        receiving
          child_node_info = lo_dyn_node_info.
    The mapping hasn't been done. Why?
    Thanks a lot.
    Regards,
    Jorge Luiz

    Hi David,
    Thanks for your helping.
    I have done what you said, but I am receinving the error below;
    Adapter error in &VIEW_ELEMENT_TYPE& "TABS" of view "YSWD_HR_TABLE_POPUP.MAIN": Context binding of property DATA_SOURCE cannot be resolved: Subnode MAIN.IDIOMA_POPUP does not exist
    I am passing the node IDIOMA_POPUP as a parameter of the set_data( ) method of the used component.
    TABS is the table that I want to populate.
    Regards,
    Jorge Luiz

  • Need confirmation on the dynamical data mapping to the components..

    Hi All,
    I would like to map the data dynamically to the combo box componet.
    Explanation:
    I have created a webi report and imported that report to xcelsius, current the data is only for 50 rows and it may increase or decrease as per the selections.
    I would like to map the exact data which is written to the excel to my combo box source data property.could you please let me know whether the source data mapping can be done dynamically ( what ever the rows data are there only those row need to be mapped to the source data) ?
    Cheers,
    Venkat

    Venkat,
    The range is always fixed for any component but the display is dynamic(say for a combo box ). The component will behave as if it is increasing or decresing the range at run time by ignoring the blank cells.
    When u said the option to change the data mapping, is it related to changing the range or did u want xcelsius to consider new data from else where in excel dynamically ..depending on conditions  ?
    Thanks,
    Karthik

  • ASA Dynamic Crypto map

    I was looking at this example and did not get a clear explanation as to the use of the
    tunnel-group DefaultL2LGroup
    http://www.cisco.com/en/US/products/ps6120/products_configuration_example09186a0080b3d511.shtml
    Why is the pre-shared-key * different from the spoke preshared key of cisco123 ? Is this a wild card to accept any
    key pass from the spoke? Can this be define or is it set as it is? I don't see the advantage if it is "accept any".
    Thanks,
    Pete

    Pete,
    "*" is how ASA will display any key, it's obfuscated when you list running configuration.
    bsns-asa5505-19#  conf tbsns-asa5505-19(config)# tunnel-group BERN ipsec-attributesbsns-asa5505-19(config-tunnel-ipsec)# ikev1 pre-shared-key 1234556778bsns-asa5505-19(config-tunnel-ipsec)# sh run tunnel-group BERN ipsec-attritunnel-group BERN type remote-accesstunnel-group BERN ipsec-attributes ikev1 pre-shared-key *****
    There's no "accept any" in IKE since that key will be used to protect and decode IKE identities.
    Also, have a look into tunnel-group mapping.
    At a glance the Default tunnel groups are used as last ditch effort in matching. I.e. they will accomodate most peers with dynamic IPs (or unspecified).
    M.

  • Dynamic scrap mapping in to SAP

    Hai All,
    I am having scenario like this... for finished product based on the order qty system should take different assembly srap percentage like. For order qty 0 to 100 it is 10%  , From 100 to 200 it is 20% , from above 200 it is 15% like this. Is there a way to map this in SAP.

    Dear
    Did you try to maintain the Assmbly scrpe % in MRP1 view ??
    Maintain the same and create the Production Order .It will automatically increase the Order Qty and you can find scrap portion and percenatge in CO02.
    If you have already created PO  and now maintaing Assmbly scarpe  at MRP1 for FG , then call the Read PP master date before Goods Issu happend againt the PO (Status should nto be GMPS )
    Refer : Production Order Scrap flow
    Regards
    JH

Maybe you are looking for

  • Process chain activation :  0 c hains were selected

    Hi all I have scheduled process chains in production. Because one of the metachain is showing error while loading infopackage,in the production I have created a new infopackage and added it to the chian.Then activated the metachain. But when i was tr

  • PO Idoc creation

    Hi, I am creating a PO by using BAPI_PO_CREATE1 in the Delivery Order Creation exit USEREXIT_SAVE_DOCUMENT_PREPARE. Now on creation of this PO I want to trigger a PO Idoc automatically to be sent to XI. Could someone tell me the steps to create this

  • Moving selected portions of aperture database from old powerpc to bookpro

    I have a 2005 ish powerpc G5 that I still use. It is a fine computer, getting a bit bogged down as no further updates for products on the G5 architecture. I finally broke down and got the i7 macbook pro. it only has a 500 gig hard drive. my aperture

  • No wifi connection after ios upgrade

    I had iPad 2 wifi connection prior to the upgrade to a new IOS version.  It did not detect my wireless router at home.  I had tried to reset, and other possible suggestions found on the Internet, but none could help solved my wifi connection issue.. 

  • Superclass and subclass

    Ok I have now reached the area of using Superclass and subclass in my self study of Java, and I am stumped on what is I am sure is a very easy concept. Here's the Scenerio. I have three classes Point, Circle and InheritanceTest. Point is the Supercla