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

Similar Messages

  • Need help generating variable name for timeout object

    Below is a function I am using to scale an object down and
    then hide it. It works fine on just one object, but if I try to run
    it on multiple objects at the same time, only the last object gets
    scaled down. I believe this is because the timeout list only ever
    has a single item in it, “ShrinkTimeOut”.
    Does each entity in the timeout list need a distinct name?
    And if so, how would I dynamically generate a name and save it so I
    can kill the timeout object once the object has scaled down fully?

    > Does it look like I am getting rid of the timeout object
    properly in my code?
    Now that you mention it, and I have a look, no - it doesn't:
    //not sure of the order of parameters here:
    function fShrinkLoop(mModel, aTimeout) {
    //Creates a variable that contains the vector value of the
    model's
    scale (vector( 1.0000, 1.0000, 1.0000 )).
    nScaleVector = mModel.getPropRef("transform").scale;
    //Checks to see if the model is 1% or less than its original
    size.
    if (nScaleVector[1]<=0.01) {
    //Makes the model invisible.
    mModel.visibility = symbol("none");
    //Kills the timeout object.
    aTimeout.forget();
    } else {
    //If it is not, we scale the model down further and allow
    the loop to
    repeat.
    mModel.scale(0.9);

  • Need help in writing ABAP for and Object

    Hi ,
    I am an ABAPer and I need a help related to BW.
    As per the Client Requirement ,I need to write ABAP for object  ZC_MRPAMC.
    what he expects is :
    0MRP_CONTROL is an attribute of 0MAT_PLANT. There can be only one 0MRP_CONTROL per  0MAT_PLANT.
    Assign the attribute value of 0MRP_CONTROL to ZC_MRPAMC per 0MAT_PLANT.
    How to assign value of 0MRP_CONTROL to ZC_MRPAMC per 0MAT_PLANT.
    Kindly  give me the steps.
    Thanks.
    Anu.

    Hi,
    U can use FM RSAU_READ_MASTER_DATA.
    Give as input the info object(I_IOBJNM=0MAT_PLANT) and attribute name(I_ATTRNM=0MRP_CONTROL).
    Output u will get the value of that attribute which u want(E_ATTRVAL=ZC_MRPAMC).
    Hope it helps
    Regards,
    Rathy

  • Need help (desperately) '^_^ in writing multiple objects in a single file

    For all those Java guru out there please help me,
    I want to write a simple application that can serialize objects in a single file. Currently I know how to serialize one object in one file using the ObjectOutputStream's writeObject () method.But the problem is that if i have 10.000 objects to serialize then I will have 10.000 file in my HD. To simplify things I want to write those 10.000 objects in a single file. But I dont know how to do that, any one can help ??

    You can write any number of objects of any type into a file when you serialize them. You need to realize that once they're written to the file, they're all placed in there as type Object, so there really isn't any distinction between any of them. You don't have a file that contains only Shapes, or only Images. You write them out as Objects, and then you discover their types later as your deserialize them and read them in. You should read into the "Reflection" capabilities that all objects have. You write an Image to a file, and then a Shape, and then a Color, you can later pack these all into an ArrayList as you read them in, and when you use them discover their type using reflection.
    -Jason Thomas.

  • I need help with my mapping - CL_MAPPING_XMS_PLSRV3-ENTER_PLSRV

    hi, guys, i need help with my mapping, i dont know this error (i not speak english)
    <Trace level="1" type="B">CL_MAPPING_XMS_PLSRV3-ENTER_PLSRV</Trace>
    <Trace level="2" type="T">......attachment XI_Context not found </Trace>
    <Trace level="3" type="T">Mapping already defined in interface determination </Trace>
    <Trace level="3" type="T">Object ID of Interface Mapping 4B903E2DDC853C1493E1DED5C5ED70A3 </Trace>
    <Trace level="3" type="T">Version ID of Interface Mapping 88D96A70BAAE11DFAE5EE925C0A800C2 </Trace>
    <Trace level="1" type="T">Mapping-Object-Id:4B903E2DDC853C1493E1DED5C5ED70A3 </Trace>
    <Trace level="1" type="T">Mapping-SWCV:88D96A70BAAE11DFAE5EE925C0A800C2 </Trace>
    <Trace level="1" type="T">Mapping-Step:1 </Trace>
    <Trace level="1" type="T">Mapping-Type:JAVA_JDK </Trace>
    <Trace level="1" type="T">Mapping-Program:com/sap/xi/tf/_mm_sgipi_fi001_vta_clientes_ </Trace>
    <Trace level="3" type="T">MTOM Attachments Are Written to the Payload </Trace>
    <Trace level="3" type="T">Dynamic Configuration Is Empty </Trace>
    <Trace level="3" type="T">Executing multi-mapping </Trace>
    <Trace level="1" type="E">CL_XMS_PLSRV_MAPPING~ENTER_PLSRV</Trace>
    help me please

    you can use the sharedobject to record a user/computer has taken your quiz, the session data and record their results.  at the start of your quiz, check for the sharedobject and, if it exists, check the other data and take appropriate action.

  • Setting property for multiple objects?

    Adobe Pro X; ES2
    I need to set the access property for multiple objects based on the selection of a radio button group. I assume I have to use resolveNodes(), but cannot for the life of me get it to work. Here's what I've played with :
    if (this.rawValue == "1") { 
    xfa.resolveNodes("OtherCase_gp.[*]").access = "open";     
    } else {  
    xfa.resolveNodes("OtherCase_gp.[*]").access = "readOnly";
    If I use Action Builder, I get endless lines of "oTargetField = this.resolveNode("OtherCase_gp.OtherCaseOther_cb"); oTargetField.access = "readOnly";" There must be a better, more efficient way to do this!

    Hi,
    Here's another way to try;
    var fields = xfa.resolveNodes("OtherCase_gp.#field.(name.substring(0,9) == 'OtherCase')");
    for (var i = 0; i < fields.length; i++)
        fields.item(0).access = (this.rawValue == "1") ? "open" : "readOnly";
    This approach will only work if your fields are all under OtherCase_gp, Radzmar's solution is more general if your form has a more complicated hierarchy.
    Regards
    Bruce

  • Re: Beginner needs help using a array of class objects, and quick

    Dear Cynthiaw,
    I just read your Beginner needs help using a array of class objects, and quick of Dec 7, 2006 9:25 PM . I really like your nice example.
    I also want to put a question on the forum and display the source code of my classe in a pretty way as you did : with colors, indentation, ... But how ? In html, I assume. How did you generate the html code of your three classes ? By help of your IDE ? NetBeans ? References ?
    I already posted my question with six source code classes ... in text mode --> Awful : See "Polymorphism did you say ?"
    Is there a way to discard and replace a post (with html source code) in the Sun forum ?
    Thanks for your help.
    Chavada

    chavada wrote:
    Dear Cynthiaw,
    I just read your Beginner needs help using a array of class objects, and quick of Dec 7, 2006 9:25 PM . I really like your nice example.You think she's still around almost a year later?
    I also want to put a question on the forum and display the source code of my classe in a pretty way as you did : with colors, indentation, ... But how ?Just use [code] and [/code] around it, or use the CODE button
    [code]
    public class Foo() {
      * This is the bar method
      public void bar() {
        // do stuff
    }[/code]

  • Need to do availability check for multiple materials (in bulk)

    HI Friends,
    I need to do availability check for multiple materials. Currently i am using function module AVAILABILITY_CHECK within a loop.For my purpose I could find this particular FM as well as BAPI "BAPI_MATERIAL_AVAILABILITY" however both of this options can not be used for more then one materials at a time.
    I want to take out the loop from the code and get multiple materials be ckecked at once for availability. If AVAILABILTY_CHECK FM can be used for multiple materials, please post the usage.
    Any other options are there?
    Any help or clue would be appreciated.
    Thanks in advance.

    Use the BAPI.  Even if such a function existed, it would still perform the relevant internal logic required for checking by material, so you wouldn't gain anything.

  • Need help in modifying mapping parameters of out the box mapping

    Hi There,
    I am a new bee to dac.
    Need help in modifying mapping parameters of out the box mapping, which is invoked by DAC task.
    We got a requirement to edit mapping parameter. When I go and see parameter under mappings tab in a mapping, I could not see any values in it.
    But when I set any value, and validate it. It is successful.
    Is it right way to do it?
    What my concern is, When I initially go and see parameter values under maapings tab in a mapping, they are blank.
    Where is it storing these values?
    Thanks,
    Rag

    If you modify mapping then u have to create new task in dac and dac itself craete parameter file at run time. if you want to add more parameters then do it in dac system parameters tab.
    Thanks
    Jay.

  • Need help in developing BADI for IT0001

    Hi All,
    I need help in developing BADI for IT0001.
    On IT0001 create or change, there is need to update IT0017 with following data from IT0001
    -Company Code
    -Cost center
    -Business Area
    -Begin and End Date.
    Other fields from IT0017 need to be derived from Position and update in IT0017.
    Please guide me how I can address this. I do not want to go for dynamic action, as it is not getting evoked during background jobs.
    I am new to BADI development and will appreciate step by step instructions.
    Thanks

    Hi,
         follow the below steps to achive
    Steps:
    1.     Execute Business Add-In(BADI) transaction SE18
    2.     Enter BADI name i.e. HRPAD00INFTY and press the display
            button
    3.     Select menu option Implementation->Create
    4.     Give implementation a name such as Z_HRPAD00INFTY
    5.      You can now make any changes you require to the BADI within this
            implementation, for example choose the Interface tab there are 3 methods avialble
    6.     Double click on the method you want to change, you can now enter
            any code you require.
    7.      Please note to find out what import and export parameters a
            method has got return the original BADI definition
            (i.e. HRPAD00INFTY) and double click on the method name
            for example within HRPAD00INFTY contract is a method
    8.      When changes have been made activate the implementation
    <b>Reward points</b>
    Regards

  • I have a "Contact" organization issue I need help with.  I organize multiple customers under their account affiliation. I place the people with their contact info under each account name by their dept/role in the notes section of their account. I am l

    I have a "Contact" organization issue I need help with.  I organize multiple customers under their account affiliation. I place the people with their contact info under each account name by their dept/role in the notes section of their account. I am looking to be able to directly dial / email from this info in yet notes section located within a contact. On Blackberry, the notes area entered in a contact can connect directly but on the iPhone those numbers/emails are inactive. I am trying to avoid having to create each of these individuals as a separate contact and keep them under their account affiliation. It is easier to find them.  This does not seem like that complicated of a request and hoping someone can tell me how or share an app that will enable the "notes" within a contact be "active". Hope this makes sense.

    I seem to recall that this question has been asked before and I'm pretty sure that the answer is that you can't do what you want to do with the native contact app. However, there are lots of contact apps out there that pull from the built app's data but have other features. Perhaps one of them would meet your needs.

  • I need help scrolling and highlighting for a vast amount of pics that I'm trying to transfer. I have a macbook pro osx 10.5.8

    I need help scrolling and highlighting for a vast amount of pics that I'm trying to transfer. I have a macbook pro osx 10.5.8

    I need help scrolling and highlighting for a vast amount of pics that I'm trying to transfer. I have a macbook pro osx 10.5.8

  • I still need help with the Dictionary for my Nokia...

    I still need help with the Dictionary for my Nokia 6680...
    Here's the error message I get when trying to open dictionary...
    "Dictionary word information missing. Install word database."
    Can someone please provide me a link the where I could download this dictionary for free?
    Thanks!
    DON'T HIT KIDS... THEY HAVE GUNS NOW.

    oops, im sorry, i didnt realised i've already submitted it
    DON'T HIT KIDS... THEY HAVE GUNS NOW.

  • Need same logical path for multiple objects in a Single project

    Dear All,
    I have a requirement where I wish to ensure that whenever an object is created in the LSMW transaction (In a Single Project), that object has to be created always under the same logical path name.
    This logical path I want to define under the transaction FILE.
    Is it possible to get this done?
    Please help,
    Regards,

    Nimish,
    Please tell me how to ensue that for every object created we get the same logical path without entering any value.
    The path i mean is the one defined in the transaction FILE
    Thanks for your input.
    Regards,

  • Submitting site maps for multiple sites to Google

    I sort of glommed on to the end of the thread "meta and google-ing...i give up," but I'll start a fresh post here with this:
    I have three sites in iWeb, all of which have their own registered Go Daddy domain names and are forwarded to .mac without masking. I followed James Tseng's instructions and successfully submitted to Google and verified my "www.mac.com/user/iWeb" url.
    I also successfully uploaded a site map for one of my sites (let's just call it Site 1), which is in my iWeb folder (not the Site 1 folder).
    My question: I assume I can create separate site maps for Sites 2 and 3. Do they also go in the same iWeb folder as the first one? Is that possible if they're all named "sitemap.xml" or do they have to be given different names?
    Also... if I want to submit these three sites to other engines like MSN and Yahoo, can I submit the forwarded domain names, or will these engines not follow the forwarding to my .mac url?
    If that's the case, is it best to submit the single "www.mac.com/user/iWeb url" as I did with Google, or should I submit each site's .mac url separately?
    Thanks in advance for your help!
    Mitch

    <As posted in the the other thread...>
    Hi Mitch....
    I hope you've been finding all this helpful so far! It's always fun to see just how much feedback you can get from Google. Sort of gives you a feeling that "you've arrived". haha.
    Regarding your question about sitemaps and multiple sites.... My strategy is this... I like to give Google sort of the broadest catch that I can. That's why I really suggest to people that they register the most general URL... http://web.mac.com/username/iWeb/ . You see how that really leaves the door open for the possibility of multiple sites, without having to register multiple sites. Google really doesn't care that you call them separate sites...to Google they appear as part of the same site...with the same base verified URL.
    So with that registered URL, there really is only one place where the verification file and sitemap.xml file can go. And that place is in the iDisk/Web/Sites/iWeb/ folder. And there is really only a need for a single verification file and a single sitemap.xml file, no matter how many sites you have. The point here isn't telling Google that you have more sites...it's just about telling Google that you have more LINKS in the site that it already knows about.
    So how do you do this? Just spider your new site or gather the links in your own way and then copy and paste the links (just the links section...not the first two lines or the last line of the code) into the sitemap.xml file that you have already submitted before. Then resubmit it to Google.
    Does this make sense? Let me know what you think.

Maybe you are looking for

  • Opening balance of WBS elements

    Hi Gurus, At go live, how can we upload opening balances of WBS elements. Please revert asap. Thank You

  • MDM 7.1 Archiving

    Hi experts We are archiving our product repository on a daily basis. And we want to create a backup repository also for the same on a daily basis. How we can automatically do this task?(We are using 7.1 version) Thanks in Advance Dhanish Joseph

  • MacBook CD/Drive not working?

    Hi For the past 2 days, whenever I try to put a CD or DVD in, it makes a funny noise then spits the CD or DVD back out? Also when I start up the laptop, the CD/DVD drive makes a funny noise. Everything else on laptop works fine. Please help!

  • IPad Won't reboot

    Hi All, I have a problem with my iPad, it won't reboot, there is just the apple logo show up. I've tried to turn it off by holding the sleep/wake button and also combine with the home button by following this instruction : http://support.apple.com/kb

  • Well my iMac won't let me import anymore of my videos i made, its saying not enough space on my hard drive

    i cant import no more videos on my imac is saying not enough space. i erase videos but still keep telling me that.