Skip to Content

mapping help UDF

hello experts.

the standard functions are not working for the number of occurrences.

below is the structure.

Root 0....unbounded                                                        Root 0 ...unbounded.

   events 0...unbounded

       countries 1...1

       total 0....unbounded.

          amount 1

          totals

Now the condition is.....if countries tag is not available and  amount is zero and under total tag we have totals.....if the tag not there.......target side root should not come.

i have done mapping.

countries ----exists-------------------------------------

amount-------

                  equals-----not------                                        and--------createif----removecontext-----root.

constant-------                               and ---------------

   (0)

   totals --------exist------------

regards,

chinna

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Apr 08, 2014 at 01:08 PM

    Hi Chinna - try with below.. If this doesn't work may be you can share the sample xml..

    Add comment
    10|10000 characters needed characters exceeded

  • Apr 10, 2014 at 06:31 PM

    Hi,

    check this

    it looks both the threads are same.

    Regards,

    Muni.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Apr 11, 2014 at 12:10 AM

    Hi Chinna

    If the mapping is bit complex.. pls try out in UDF instead of Graphical. Let me know ifyou need some help on UDF coding.

    Add comment
    10|10000 characters needed characters exceeded