Information Technology Reference
In-Depth Information
Fig. 7.32 XSD graph of Inventory.xsd and Delivery.xsd
Since a pair of matching elements Package and Warehouse contain same key Loca-
tion and Warehouseid, we can therefore merge them into one element Package by
replacing element Warehouse as element Package, and integrate both XML schemas
Delivery.xsd and Inventory.xsd into an integrated schema Delivery (Fig. 7.32 ).
Similarly, another pair of matching element Title in schema A and element Tag in
schema B contain same key Partid and Tagid with redundant data, therefore, we add
a master element Itemkey which contains the data of these two equivalent elements.
As a result of resolving multiple matching elements as shown above, an inte-
grated schema is shown in Fig. 7.33 in the following XSD:
Integrated Schema
Search WWH ::




Custom Search