Next in thread → Next in month →

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

From
Michael Kay <>
To
'XGuy' <>,
Date
2008-02-05T22:17:23
ID
<009d01c86844$e1d35f10$ee08a8c0@turtle>
Thread
RE: [xml-dev] re[xml-dev] ferencing an already declared element in the schema(not a global element)
> 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/
Next in thread → Next in month →