Skip to Content
author's profile photo Former Member
Former Member

Assign at the same different constant values to an element

Hi,

I have node with an element (PARAM) with 2 attributes NAME and VALUE and i would like to assign 4 different constant values to attributes at the same time . The PARAM element can be repeated only once creating the DATA TYPE How can be repeated 4 times in mapping?

Could it be done writing a simple UDF ?is there any example?

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jun 19, 2008 at 08:54 AM

    Hi,

    Just duplicate your Param node 4 times...and assign 4 constants to name and value attrubutes.

    reward if helps.

    Thanks,

    Vijaya.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jun 19, 2008 at 08:52 AM

    Hi,

    No its not possible to assign the multiple attributes to the single Data type element.

    As for Data type you can have the occurances as Unmbounded but for Attributes you can't have.

    Attributes are used to create the unique identity of the data element, so it will not allwoed to assign multiple Attributes with same names to the sigle element.

    Thanks

    swarup

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jun 19, 2008 at 09:36 AM

    Hi,

    If possible duplicate the element instead of node.

    Thanks,

    RamuV

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.