Topic
  • 2 replies
  • Latest Post - ‏2014-07-18T16:12:59Z by jourdanss
jourdanss
jourdanss
24 Posts

Pinned topic C_COLD sequence

‏2014-07-17T23:33:21Z |

Hello, I need help with the transformation of an XML, I leave an attachment in which I explain my problem in detail.
Thank you very much for your time.
regards
Jourdan

Attachments

  • Arun Ramamurthy
    Arun Ramamurthy
    62 Posts

    Re: C_COLD sequence

    ‏2014-07-18T15:53:18Z  

    You seem to be mapping to C_COLD Sequence [1]  , which is the index 1 for that group. Since this is just occurring once , only the first instance of detalleValor will be mapped. To map the multiple instances,  you need to map it to C_COLD Sequence [s] , which would map any number of detalleValor 's that would occur.

    You  would have to use a functional map approach and pass each  detalleValor data to the functional map , something as below:

    C_COLD Sequence [s] = fmap_detvalor(detalleValores )

    and within the functional map , then map each detalleValor .

     

  • jourdanss
    jourdanss
    24 Posts

    Re: C_COLD sequence

    ‏2014-07-18T16:12:59Z  

    You seem to be mapping to C_COLD Sequence [1]  , which is the index 1 for that group. Since this is just occurring once , only the first instance of detalleValor will be mapped. To map the multiple instances,  you need to map it to C_COLD Sequence [s] , which would map any number of detalleValor 's that would occur.

    You  would have to use a functional map approach and pass each  detalleValor data to the functional map , something as below:

    C_COLD Sequence [s] = fmap_detvalor(detalleValores )

    and within the functional map , then map each detalleValor .

     

    ok. great. I tried that.

    Thanks for your time Arun.

    Jourdan.