Re: [Moderator Action] Linking two schemas

"Gary Walvin" <Gary.Walvin@mfs.misys.co.uk> writes:

> To be honest I need it working with both! But an answer regarding .xsd would
> get me started.
> 
> -----Original Message-----
> From: Henry S. Thompson [mailto:ht@cogsci.ed.ac.uk]
> Sent: 22 January 2001 09:34
> To: Gary Walvin
> Cc: xmlschema-dev@w3.org
> Subject: Re: [Moderator Action] Linking two schemas
> 
> 
> "Gary Walvin" <Gary.Walvin@mfs.misys.co.uk> writes:
> 
> > If I have the schema's: SchemaGeneric.xdr, SchemaSpecific1.xdr and
> > SchemaSpecific2.xdr, is there anyway of including Schema Generic within
> > SchemaSpecific1 and SchemaSpecific2 to avoid duplicating some element and
> > attribute typess? I don't really want to get into namespaces, it's just a
> > way of reducing maintenance and the size of some schema's.
> 
> .xdr is usually used for Microsoft's XML-Data Reduced schemas --
> this list is about the W3C XML Schema language [1] -- which are you
> asking about?
> 
> ht
> 
> [1] http://www.w3.org/XML/Schema.html

In XML Schema, the <include> element provides for schema modularity.
See the XML Schema Primer [1] for more introductory information.

ht

[1] http://www.w3.org/TR/xmlschema-0/#SchemaInMultDocs
-- 
  Henry S. Thompson, HCRC Language Technology Group, University of Edinburgh
          W3C Fellow 1999--2001, part-time member of W3C Team
     2 Buccleuch Place, Edinburgh EH8 9LW, SCOTLAND -- (44) 131 650-4440
	    Fax: (44) 131 650-4587, e-mail: ht@cogsci.ed.ac.uk
		     URL: http://www.ltg.ed.ac.uk/~ht/

Received on Monday, 22 January 2001 05:27:16 UTC