Jump to content
  • Advertisement


This topic is now archived and is closed to further replies.

XML Schema Problem

This topic is 5588 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I am just starting to get into XML and have an issue I need help with. Say I define a few types like this:
<ElementType name="foo" dt:type="int" />
<ElementType name="bar" dt:type="int" />

<ElementType name="both" content="eltOnly">
  <element type="foo">
  <element type="bar">
Now how do I create a new type that also has the "both" type?
<ElementType name="newType" content="eltOnly">
  <element name="containedBoth" type="both">
  ... more elements ...
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]

Share this post

Link to post
Share on other sites

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!