Original Post
I am just starting to get into XML and have an issue I need help with.
Say I define a few types like this:
Now how do I create a new type that also has the "both" type?
XML Spy doesn't like this for some reason. Is this possible or do I have to define the type in another file? Any help would be much appreciated.
[edited by - LordShade on February 1, 2003 7:07:07 PM]
<ElementType name="foo" dt:type="int" /> <ElementType name="bar" dt:type="int" /> <ElementType name="both" content="eltOnly"> <element type="foo"> <element type="bar"> </ElementType>
<ElementType name="newType" content="eltOnly"> <element name="containedBoth" type="both"> ... more elements ... </ElementType>