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

import

From: Ian Stokes-Rees <ijs@decisionsoft.com>
Date: Sun, 22 Apr 2001 17:08:27 +0100 (BST)
cc: xmlschema-dev@w3.org
Message-ID: <Pine.LNX.4.21.0104221702470.795-100000@tugela.dsl.net>
If I have two schema documents libA.xsd and libB.xsd both in the foo
namespace, and I am creating a new schema document in the bar namespace
which references types in libA and libB, is it legal to have two
"import" elements as follows (excuse the shorthand XSDL):

<schema targetNamespace="http://bar" xmlns:foo="http://foo" >

  <import namespace="http://foo" schemaLocation="libA.xsd"/>
  <import namespace="http://foo" schemaLocation="libB.xsd"/>

...

</schema>

Regards,

Ian

-- 
Ian Stokes-Rees                       DecisionSoft Ltd.
Telephone: +44-1865-203192            http://www.decisionsoft.com
Received on Sunday, 22 April 2001 12:08:36 GMT

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