Oxygen XML Editor
 
[XML-DEV Mailing List Archive Home] [By Thread] [By Date]

Global Complex Types vs. Global Elements


  • To: <xml-dev@...>
  • Subject: Global Complex Types vs. Global Elements
  • From: "Collin Hsu" <collin@...>
  • Date: Sun, 17 Jul 2005 23:08:09 +0800
  • In-reply-to: <42D88D3B.6090709@...>
  • Keywords: ??
  • Organization: W3CHINA.ORG
  • Reply-to: <collin@...>
  • Thread-index: AcWJv55yWwiItMHbQXKMSEejY65uXABHtu+w

Hi, all

When I read XMLSPY 2005 User Manual today, I found the following statement
which really baffles me. 

{{//http://www.altova.com/manual2005/XMLSpy/SpyEnterprise/globalelements.htm

A globally declared element can be reused at multiple locations. __?___It
differs from a globally declared complex type in that its content model
cannot be modified without also modifying the global element itself___?___.
If you change the content model of an element that references a global
element, then the content model of the global element will also be changed,
and, with it, the content model of all other elements that reference that
global element. 

}}

Since XML Schema Primer & Structures do not mention the above point
explicitly, could you give me some explanation as to the sentence?

Thanks!

Regards,
Collin



 
© 2002-2008 SyncRO Soft Ltd. All rights reserved. | Sitemap | Privacy Policy
This website was created & generated with <oXygen/> XML Editor
Keywords