|
Hi,
Try the following :
factory.setAttribute("http://apache.org/xml/properties/schema/external-schemaLocation", "http://yourfirstnamespace.com " + "d:/directoryWhereYourSchemaIsStored/nameOfTheFirstSchema.xsd");
factory.setAttribute("http://apache.org/xml/properties/schema/external-schemaLocation", "http://yoursecondnamespace.com " + "d:/directoryWhereYourSchemaIsStored/nameOfTheSecondSchema.xsd");
factory.setAttribute("http://apache.org/xml/properties/schema/external-schemaLocation", "http://yourthirdnamespace.com " + "d:/directoryWhereYourSchemaIsStored/nameOfTheThirdSchema.xsd");
You can as well import the second and third schema in the
first one like :
< xs:import namespace=http://yoursecondnamespace.com schemaLocation="d:/directoryWhereYourSchemaIsStored/nameOfTheSecondSchema.xsd"/><xs:import namespace="http://yourthirdnamespace.com " schemaLocation="d:/directoryWhereYourSchemaIsStored/nameOfTheThirdSchema.xsd"/> For more pointers (on name spaces for instances), you could check out www.xfront.com where there is a very good Schema tutorial. Best regards, R�gis
|
<<attachment: ATT03808.gif>>
<<attachment: ATT03809.gif>>
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
