including external xml files in an instance and validating across the files

To explain my question it is probably best to give an example of the
situation.  Lets say that I have 2 types of xml documents:  a partlist.xml
including partnumber, description and other details, and an invoice.xml with
a list of items including partnumber, quantity and cost.  My company has 1
partlist.xml file but many invoice.xml files.  I have defined xml schemas
that validate each type of document independently, but would also like to
validate the partnumbers across files (ie. make sure each partnumber in an
invoice corresponds to a partnumber in my partlist).  The best way seems to
be to 'include' the partlist schema in the invoice schema and use KEY -
KEYREF.  My question is how do I then include/import the partlist.xml
document in an invoice.xml document?  I want to keep the files separate
because of the many to 1 relationship.

Thanks,

--Rolf Russell

Received on Monday, 4 February 2002 05:02:51 UTC