Let's say I have a complexType "twoFoosType" made up of two elements named "foo" from different namespaces and a global element "twoFoos" that uses this complexType: <xsd:element name="twoFoos" type="twoFoosType"/> <xsd:complexType name="twoFoosType"> <xsd:element ref="ns1:foo"/> <xsd:element ref="ns2:foo"/> </xsd:complexType> How do I use "twoFoos" in an XML data file and give the schemaLocation of "twoFoos" and the two "foo" elements? I assume that this structure is partially correct... <twoFoos xmlns="http://www.foo.com" xmlns:ns1="http://www.foo.com/ns1" xmlns:ns2="http://www.foo.com/ns2"> <ns1:foo/> <ns2:foo/> </twoFoos> ...but I am not clear how to define the schemaLocation for all three namespaces. thanks in advance, Chuck Chuck Han, Data Architect Autodesk, Inc. +1.415.507.8742Received on Thursday, 28 September 2000 18:15:24 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 23 October 2007 06:13:18 GMT