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

RE: [xml-dev] re[xml-dev] ferencing an already declared element in the schema(not a global element)


  • From: "Michael Kay" <mike@...>
  • To: "'XGuy'" <ilangocal@...>,<xml-dev@...>
  • Date: Tue, 5 Feb 2008 22:17:23 -0000

> The following is my schema: For <xs:element 
> name="aliasLookUpType">  how can I reuse elements 
> "name_first" "arrestee_dob" instead of "name_first_lookup"
> and "arrestee_dob_lookup"
> 
> I understand that only a global element can be reused instead 
> of something declared in a complexType. 
> 
> Is there a way to refer to "name_first"?

I think you have answered your own question. If you want to reuse it, you
have to make it global.

Michael Kay
http://www.saxonica.com/



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]
 
© 2002-2008 SyncRO Soft Ltd. All rights reserved. | Sitemap | Privacy Policy
This website was created & generated with <oXygen/> XML Editor