R
Robert Dailey
Take the following XML:
<Frame type="Image" id="frame1">
<Draw/>
</Frame>
<Frame type="Text" id="frame2">
<Print/>
</Frame>
Is there a way in Schema to specify that the "Frame" element is
different (and thus requires different child elements) depending on
the value of an attribute (specifically the "type" attribute)?
<Frame type="Image" id="frame1">
<Draw/>
</Frame>
<Frame type="Text" id="frame2">
<Print/>
</Frame>
Is there a way in Schema to specify that the "Frame" element is
different (and thus requires different child elements) depending on
the value of an attribute (specifically the "type" attribute)?