S
steve_marjoribanks
Does anyone know of any good resources about using multiple schemas? I
am having trouble getting me head round a problem!
I am writing schema A which imports schema B from another namespace
(ns) and in S1 I define an element as being <element name="top"
type="ns:geometry" />. If the 'geometry' complex type is a 'top level'
complex type which contains lots of other complex types which can
describe any object, do I need to define all of these (or at least the
ones I need) again in my schema or does the fact that I've imported the
top level type mean that any instances of the lower types in my XML
will be valid?
Sorry, it's a difficult problem to describe, I'm working with GML which
is so huge it's hard to get my head round it!
Thanks
Steve
am having trouble getting me head round a problem!
I am writing schema A which imports schema B from another namespace
(ns) and in S1 I define an element as being <element name="top"
type="ns:geometry" />. If the 'geometry' complex type is a 'top level'
complex type which contains lots of other complex types which can
describe any object, do I need to define all of these (or at least the
ones I need) again in my schema or does the fact that I've imported the
top level type mean that any instances of the lower types in my XML
will be valid?
Sorry, it's a difficult problem to describe, I'm working with GML which
is so huge it's hard to get my head round it!
Thanks
Steve