on 06-01-2007 8:25 PM
Hi
Is it possible to create the following source data type (structure) in graphical mapping tool ?? If possible could you please guide me how to build the same
<Source>
<Line>
<PONumber>490000</PONumber>
<Item>010</Item>
<Material>Bread</Material>
</Line>
<Line>
<PONumber>490000</PONumber>
<Item>020</Item>
<Material>Cheese</Material>
</Line>
<Line>
<PONumber>490001</PONumber>
<Item>011</Item>
<Material>Water</Material>
</Line>
<Line>
<PONumber>490001</PONumber>
<Item>021</Item>
<Material>Beer</Material>
</Line>
<Line>
<PONumber>490001</PONumber>
<Item>031</Item>
<Material>Wine</Material>
</Line>
<Line>
<PONumber>490001</PONumber>
<Item>041</Item>
<Material>Juice</Material>
</Line>
</Source>
thanks
kumar
Kumar,
<i> Is it possible to create source data type in mapping tool</i>....
Please correct me if i'm wrong, I think u want the Line element has to be duplicated am i right.
Best regards,
raj.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI raj,
I am beginner ......I don't want anything like duplication of elements. Basically I am not able to create subelements under the root element. Here I have <Line> as subelemt under the root <source>. And again I have ponumber, item, material under the subelement <line>. Please let me know the procedure to create this step by step.
thanks
kumar
Kumar,
I'm really not sure whether you want to create the data type for the structure you mentioned , if yer, follow the below steps.
Creat Datatype. In the root tag right click and select
-Insert Subelement -<b>Source</b> (Don't give type ,and choose occurrence as 1)
-Right click on <b>Source</b> click Insert Subelement <b>Line</b> (Don't give type ,and choose occurrence as 0... Unbounded)
- Right click on <b>Line</b> and click element <b>PONumber</b>(Give type and occurrence as 1).
- Right click on <b>Line</b> and click element <b>Item</b>(Give type and occurrence as 1).
- Right click on <b>Line</b> and click element<b> Material</b>(Give type and occurrence as 1).
Hope it helps, if not reply back.
Best regards,
raj.
Hey
its simple ,first of all create a substructure of the following type
<PONumber>490000</PONumber>
<Item>010</Item>
<Material>Bread</Material>
now create the main structure of following type
<Source>
<Line>
-
-
over here refer the type for <Line> as the(same place where u select xsd:string,u have this option) subtructure and set the occurence of Line to 1-unbounded
thanx
ahmad
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.