W3C home > Mailing lists > Public > xmlschema-dev@w3.org > January 2001

Re: [Moderator Action] Linking two schemas

From: Henry S. Thompson <ht@cogsci.ed.ac.uk>
Date: 22 Jan 2001 10:27:13 +0000
To: "Gary Walvin" <Gary.Walvin@mfs.misys.co.uk>
Cc: xmlschema-dev@w3.org
Message-ID: <f5b8zo3c266.fsf@cogsci.ed.ac.uk>
"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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 11 January 2011 00:14:19 GMT