XML.com: XML From the Inside Out

XML.comWebServices.XML.comO'Reilly Networkoreilly.com
  Articles | Weblogs | Newsletter | Safari Bookshelf
advertisement

Article:
 Understanding W3C Schema Complex Types
Subject: simpleTypes not that "odd"
Date: 2001-08-25 03:50:37
From: Francis Norton

you say


"It may seem odd that adding an attribute to a simple type requires the creation of a new complex type, one that has simple content to boot."


but consider that simpleTypes are used to define attributes as well as elements. Are attributes allowed to have element content or their own attributes? That, to me, explains why these are disallowed in simpleTypes.


Previous Message Previous Message   Next Message Next Message

Sponsored By:


Contact Us | Our Mission | Privacy Policy | Advertise With Us | | Submissions Guidelines
Copyright © 2008 O'Reilly Media, Inc. | (707) 827-7000 / (800) 998-9938