- From: Arigapudi, Shyam <Shyam.Arigapudi@ugs.com>
- Date: Wed, 23 Jan 2002 09:47:19 -0500 (EST)
- To: "'xmlschema-dev@w3.org'" <xmlschema-dev@w3.org>
<?xml version="1.0" encoding="UTF-8"?> <x:CimfObjects xmlns:x="urn:www.eai.com:CIMF" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="urn:www.eai.com:CIMF box.xsd"> <x:Object xsi:type="x:BoxType> ... </x:Object> </x:CimfObjects> It all works fine. (Replace box with pallet and that works fine). Now, I want to have both the types to be in one xml file. Is this possible? <?xml version="1.0" encoding="UTF-8"?> <x:CimfObjects xmlns:x="urn:www.eai.com:CIMF" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="urn:www.eai.com:CIMF box.xsd urn:www.eai.com:CIMF pallet.xsd"> <x:Object xsi:type="x:BoxType> ... </x:Object> <x:Object xsi:type="x:PalletType> ... </x:Object> </x:CimfObjects> Not sure about the syntax for schemaLocation (since both xsd files use the same urn). Is the solution to change these name spaces or is there a better way? Regards, Shyam Arigapudi www.eds.com shyam@ugs.com
Received on Thursday, 24 January 2002 13:14:34 UTC