on 07-04-2007 7:23 AM
Hi all
I would just like to know if there is an element will be produced while testing the mapping if that element in the source structure has no node mapped on the target side or in other words if a source node doesnt contain a mapping, will that node be produced on the target mapping structure
regards
krishna
1. that node will not be produced if its occurance is 0-unbounded
2. if the occurance is 1-N then the mapping will throw and error.
3. to handle such a situation, right click the target node and disable it.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
>>>>2. if the occurance is 1-N then the mapping will throw and error.
3. to handle such a situation, right click the target node and disable it
but there is no target so it cannot be 1-n
at least as far as I understand
so will just just not be produced
Regards,
michal
-
<a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>
Thank you all for your responses.
Sachin, Sorry you probably where in a haste to answer the question while failing to understand it ( i clearly mentioned that there is no no present in the target that maps to the source node)
Michal. Thanks for your correct answers
Shabharish: Thanks for your correct answers and for answering what i did not ask , which i should have asked. Yes, i wanted to block one of the nodes from appearing in the target and your suggestion for "disabling the field" did the trick. You get the full points:)
regards
krishna
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
>>>> in other words if a source node doesnt contain a mapping, will that node be produced on the target mapping
it will not be produced in target
Regards,
michal
-
<a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
If the target node is having occurance 1...1 or 1...unbound .. it' will be created on target side.. whether source exist or not..OR mapping exist or not.
however it will through runtime error.
Sachin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.