[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
[xsd-dev] Re: referencing another XSD file within an XSD file
|
Vance,
The W3C XML Schema language permits the use of a element information
item with the tag "include", so you could have, within fairlystatic.xsd,
<xs:include
schemaLocation="URIForMoreFrequentlyConstructedSchemaFileBuiltFromDatabase.xsd"/>
If the elements, attributes and types for the frequently constructed
schema file are going to use a different XML Namespace, there is a
different element information item in the W3C XML Schema Language, called
"import".
You should review the W3C XML Schema Language Primer [1], especially
section 4.1 [2].
For the future, questions about whether you can do something or other
in the W3C XML Schema language, that you can't answer by consulting a book
or a specification [3], should be posted to: xmlschema-dev@xxxxxx . [4]
You can subscribe to that mailing list using [5].
Thanks,
Bob
XML/XSL Transformational Systems - Extensible Technologies
IBM Thomas J Watson Research Center
Yorktown Heights, New York, USA
[1]http://www.w3.org/TR/xmlschema-0/
[2] http://www.w3.org/TR/xmlschema-0/#SchemaInMultDocs
[3] http://www.w3.org/XML/Schema#dev
[4] http://lists.w3.org/Archives/Public/xmlschema-dev/
[5] mailto:xmlschema-dev-request@xxxxxx?subject=subscribe
Vance Arocho
<aroc725@xxxxxxxx
m> To
Sent by: xsd-dev@xxxxxxxxxxx
xsd-dev-admin@ecl cc
ipse.org
Subject
[xsd-dev] referencing another XSD
01/14/2004 12:21 file within an XSD file
PM
Please respond to
xsd-dev
Is it possible to reference another XSD file within an XSD file? What I'd
like to do is have a fairly static XSD file which contains an element whose
valid values change often reference a 2nd XSD file which specifies the
valid values for that element. This way I could set up a process that reads
the valid values for the element from a database and then re-create the 2nd
XSD file as needed.
Do you Yahoo!?
Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes