on 03-18-2008 8:46 AM
While creating data types in IR, we select occurance.
I want to know what is difference between,
0 -- 1,
0-- un,
1--un,
1--1
thanks in advance
shiva
Hello Shiva,
Occurence:
Occcurence is just a counter to track the number of times the given XML tag can occur in the XML file generated at the integration engine pipe line.
0 to 1 Occurence : Occur 0 times minimum, and once at the max.
0 to Unbounded : Mean it can occur 0 times or as many times.
1 to 1 : It is mandatory for the field to occur atleast once and it cannot occur more times.
1 to unbounded: when a field appears atleast once and can have many occurances too.
Reward Points If This Info is useful to you..
Thanks,
Satya Kumar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Siva,
we can define occurrence both for nodes and fields as well.
0 -- 1: It is not a mandatory field or node i.e. it(field or node) may not occur. And it (field or node) can occur at max. one time within its parent node.
0-- un, It is not a mandatory field or node i.e. it(field or node) may not occur. It (field or node) can occur any number of times within its parent node.
1un, It is a mandatory field or node i.e. it must occur once within its parent node. It(field or node) can occur unlimited times within its parent node.
11: It is a mandatory field or node i.e. it must occur once within its parent node. It(field or node) can not occur more than once within its parent node
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi shiva,
0--1 occurance to a field means the field may occur min 0 to max 1 time within its parent node.
0-- unbounded occurance to a field means the field may occur min 0 to unlimited times within its parent node,
--->The above to cases denotes an optional field.
1--unbounded occurance to a field means the field will occur min 1 to unlimited times within its parent node,
1--1 occurance to a field means the field will occur exactly single time within its parent node
--->The above to cases denotes a mandatory field.
Please reward points.
Regards
Sankar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
0 -- 1: Not a mandatory field but can occur only once.
0-- un,: Not a mandatory field but can occur as many times required.
1--un,: Mandatory field and can occur as many times required.
1--1: can occur only once and a manadatory field.
Rewards if helpful.
BR,
Alok
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Siva,
0 -- 1 means the field is optional and can occur max 1 time
0-- un, means the field is optional and max it can occur any number of times
1--un, means the field is mandatory and the field occurs at leat once and max it can occur any number of times
1--1 means the field is mandatory and can occur only 1 time
Regards,
Rajeev Gupta
Edited by: RAJEEV GUPTA on Mar 18, 2008 9:49 AM
Edited by: RAJEEV GUPTA on Mar 18, 2008 9:49 AM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
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.