Hi,
I am new to xmlbeans - and I think it will do what I want.
But I'm having trouble defining my schema properly to represent
what I want.
If I have two types:
<type name="Type1">
<all>
<element name="foo1" type="string" />
<element name="bar1" type="NMTOKEN" />
</all>
</type>
<type name="Type2">
<all>
<element name="foo2" type="string" />
<element name="bar2" type="decimal" />
</all>
</type>
Now I also need a third type that combines these two types:
<type name="Type3">
<all>
<element name="foo1" type="string" />
<element name="bar1" type="NMTOKEN" />
<element name="foo2" type="string" />
<element name="bar2" type="decimal" />
</all>
</type>
Now, I can explicitly defined them as I have done above, and scomp
works fine. Is there a way I can define Type3 to inherit from
Type1 and Type2, so that scomp won't fail?
Type1 and Type2 are NOT abstract.
Thanks,
-kevin
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]