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

context and context change?

What is context and context change?

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

4 Answers

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

    Context : Context of an element is nothing but just the level, where

    the XML tag appears in the given XML

    document. Level of any element is set to the immediate parent node by

    default.

    Context Change : Context change is just changing the level of XML

    tag(element level in XSD) in the XML document.

    This means when we map one source field to one target field then that

    both field segments should be at same

    level.

    Add a comment
    10|10000 characters needed characters exceeded

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

    Hi,

    Context are used in graphical mapping in XI. Contexts are used to change the hierarchy of data while developing the Graphical mapping.

    You can see context as a small black line in the Graphical mapping editor. There are different inbuilt functions in XI to change the context hierarchy like removecontext etc.

    Kulwinder

    Award points if helpful

    Add a comment
    10|10000 characters needed characters exceeded

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

    check them

    /people/sravya.talanki2/blog/2005/08/16/message-mapping-simplified--part-i

    /people/sravya.talanki2/blog/2005/12/08/message-mapping-simplified-150-part-ii

    Add a comment
    10|10000 characters needed characters exceeded

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

    Hi,

    Context means it is the level in XML like parent node. Root node

    Ex:

    <root>

    <header name=u201CA">

    <item>A.one</item>

    <item>A.two</item>

    <item>A.three</item>

    </header>

    <header name="B">

    <item>B.one</item>

    <item>B.two</item>

    </header>

    </root>

    Here Context item, header and root are the different contexts for A.one. If you used display queue in your mapping it will separte all contexts by a dark line.

    If you want to combile both A and B you have to change the context to removing context.

    If there is duplication of A.one,A.two,A.three you have to change context to header(by default it is item level).This you can achieve in message mapping.

    Suppose you have one element in source and you have to map to multiple elements in target. then split the context and send to target.

    Reward points if needful.

    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.