cancel
Showing results for 
Search instead for 
Did you mean: 

XSD - How to map self-referring elements

Former Member
0 Kudos

Hi All,

In my scenario, target strcuture is an xsd.

This xsd has few elements with sub-elements of the same type as parent.

For better undersanding, here is the hierarchy.

Process Order has Phases to be executed.Each phase has Phase Operations, each Phase Operation has Materials needed to coplete phase operation.

So, the hierarchy in xsd is thus

Phase > Phase Operation > Material.

All these elements are of the same complex type.Phase Operation is child element of Phase ; Material is child element of Phase Operation.

In Graphical Mapping, the xsd structure seen has following problem. For phase, I am able to see the sub-elements, but for Phase Operation element, it has a black triangle on top and I don't see the sub-elements under it.

How do I map the Phase Operation sub-elements?

I cannot changed the xsd as it is B2MML standard xsd.

Thanks

Swapna

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

Check whether your XSD is Valid or not with any Free XML test tools like

Altova XML Spy or Cooktop

REgards

Seshagiri

Former Member
0 Kudos

Hi Seshagiri,

The xsd is valid, checked using XMLSPY

Only thing is it has self-referring elements. Those elements are seen with black triangle on he top left-hand corner and it doesn't show the sub-elements.

How can these be handled to map?

Thanks,

Swapna.